Commit dc260069 authored by Will Pragnell's avatar Will Pragnell

Improve Plist Acknowledgements unit testing a little

parent f8774598
...@@ -35,8 +35,9 @@ describe Pod::Generator::Plist do ...@@ -35,8 +35,9 @@ describe Pod::Generator::Plist do
} }
end end
it "writes a plist to disk" do it "writes a plist to disk at the given path" do
path = @sandbox.root + "#{@target_definition.label}-Acknowledgements.plist" path = @sandbox.root + "#{@target_definition.label}-Acknowledgements.plist"
@plist.save_as(path).should.be.true Xcodeproj.expects(:write_plist).with(equals(@plist.plist), equals(path))
@plist.save_as(path)
end end
end end
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