test/vagrant/action/vm/destroy_test.rb in vagrantup-0.6.9 vs test/vagrant/action/vm/destroy_test.rb in vagrantup-0.7.0
- old
+ new
@@ -14,10 +14,10 @@
@instance = @klass.new(@app, @env)
end
context "destroying the VM" do
should "destroy VM and attached images" do
- @internal_vm.expects(:destroy).with(:destroy_medium => :delete).once
+ @internal_vm.expects(:destroy).once
@env["vm"].expects(:vm=).with(nil).once
@app.expects(:call).with(@env).once
@instance.call(@env)
end
end