spec/archive_spec.rb in heirloom-0.3.0.rc1 vs spec/archive_spec.rb in heirloom-0.3.0

- old
+ new

@@ -86,12 +86,12 @@ it "should call archive exists method and return true if archive exists" do mock = double('Mock') Heirloom::Reader.should_receive(:new). with(:config => @config_mock, - :name => 'chef', - :id => '123'). - and_return mock + :name => 'chef', + :id => '123'). + and_return mock mock.should_receive(:exists?).and_return true @archive.exists?.should be_true end it "should call archive exists method and return fasle if archive doesnt exists" do