spec/archive_spec.rb in heirloom-0.5.0rc3 vs spec/archive_spec.rb in heirloom-0.5.0rc4
- old
+ new
@@ -162,11 +162,12 @@
with(:config => @config_mock,
:name => 'chef',
:id => '123').
and_return destroyer_mock
destroyer_mock.should_receive(:destroy).
- with(:regions => ['us-west-1', 'us-west-2'])
- @archive.destroy
+ with(:regions => ['us-west-1', 'us-west-2'],
+ :keep_domain => false)
+ @archive.destroy :keep_domain => false
end
it "should call the regions method for an archive" do
mock = double('Mock')
Heirloom::Reader.should_receive(:new).