From 90d2ec5ab3d7feeffd78a7e045ba7135556db2d4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Apr 2010 16:45:46 -0700 Subject: [PATCH] Fix tests to get passing for new `vagrant destroy` command --- test/vagrant/commands_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/vagrant/commands_test.rb b/test/vagrant/commands_test.rb index 431effbd5..06678b003 100644 --- a/test/vagrant/commands_test.rb +++ b/test/vagrant/commands_test.rb @@ -52,19 +52,19 @@ class CommandsTest < Test::Unit::TestCase end end - context "down" do + context "destroy" do setup do @persisted_vm.stubs(:destroy) end should "require a persisted VM" do @env.expects(:require_persisted_vm).once - @commands.down + @commands.destroy end should "destroy the persisted VM and the VM image" do @persisted_vm.expects(:destroy).once - @commands.down + @commands.destroy end end