spec/archive_spec.rb in heirloom-0.5.0rc2 vs spec/archive_spec.rb in heirloom-0.5.0rc3
- old
+ new
@@ -123,20 +123,9 @@
and_return mock
mock.should_receive(:list)
@archive.list
end
- it "should call cleanup method" do
- mock = double('Mock')
- Heirloom::Builder.should_receive(:new).
- with(:config => @config_mock,
- :name => 'chef',
- :id => '123').
- and_return mock
- mock.should_receive(:cleanup)
- @archive.cleanup
- end
-
it "should return true if the required buckets exist" do
mock = double('Mock')
Heirloom::Verifier.should_receive(:new).
with(:config => @config_mock,
:name => 'chef').