Commit 5c62253a authored by Will Pragnell's avatar Will Pragnell

Made Acknowledgements Plist title configurable

parent 2c944345
......@@ -13,12 +13,16 @@ module Pod
def plist
{
:Title => "Acknowledgements",
:StringsTable => "Acknowledgements",
:Title => plist_title,
:StringsTable => plist_title,
:PreferenceSpecifiers => licenses
}
end
def plist_title
"Acknowledgements"
end
def licenses
licences_array = [header_hash]
@pods.each do |pod|
......
......@@ -14,6 +14,12 @@ describe Pod::Generator::Plist do
@plist.licenses.count.should == 3
end
it "returns a string for the plist title" do
@pods[0].unstub(:license_text)
@pods[0].unstub(:name)
@plist.plist_title.should.be.kind_of(String)
end
it "returns a correctly formed license hash for each pod" do
@plist.hash_for_pod(@pods[0]).should == {
:Type => "PSGroupSpecifier",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment