Commit f23ff798 authored by Will Pragnell's avatar Will Pragnell

Added some TODOs to acknowledgements_spec

parent ee081939
...@@ -18,6 +18,7 @@ describe Pod::Generator::Acknowledgements do ...@@ -18,6 +18,7 @@ describe Pod::Generator::Acknowledgements do
@acknowledgements.licenses.count.should == 3 @acknowledgements.licenses.count.should == 3
end end
# TODO Test with a pod that has no licence
it "returns a correctly formed license hash for each pod" do it "returns a correctly formed license hash for each pod" do
@acknowledgements.hash_for_pod(@pods[0]).should == { @acknowledgements.hash_for_pod(@pods[0]).should == {
:Type => "PSGroupSpecifier", :Type => "PSGroupSpecifier",
...@@ -34,6 +35,7 @@ describe Pod::Generator::Acknowledgements do ...@@ -34,6 +35,7 @@ describe Pod::Generator::Acknowledgements do
} }
end end
# TODO Test with a target_definition whose label isn't "Pods"
it "adds \"Pods-\" to the beginning of the filename only if necessary" do it "adds \"Pods-\" to the beginning of the filename only if necessary" do
(@acknowledgements.filename.start_with?"Pods-").should.be.true (@acknowledgements.filename.start_with?"Pods-").should.be.true
(@acknowledgements.filename.start_with?"Pods-Pods-").should.be.false (@acknowledgements.filename.start_with?"Pods-Pods-").should.be.false
......
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