From 5b87165e971214fb0a94efbb96ff2bacabd0f5f9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 5 Dec 2011 21:08:31 -0800 Subject: [PATCH] Multistep tests pass again. --- test/unit/vagrant/action/multistep_test.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/unit/vagrant/action/multistep_test.rb b/test/unit/vagrant/action/multistep_test.rb index 89976d343..16ae4ba2c 100644 --- a/test/unit/vagrant/action/multistep_test.rb +++ b/test/unit/vagrant/action/multistep_test.rb @@ -6,7 +6,7 @@ describe Vagrant::Action::MultiStep do input :obj output :obj - def execute + def enter @obj << "A" return :obj => @obj end @@ -16,7 +16,7 @@ describe Vagrant::Action::MultiStep do input :obj output :result - def execute + def enter return :result => (@obj << "B") end end @@ -31,7 +31,7 @@ describe Vagrant::Action::MultiStep do it "should allow for custom inputs to pass to specific steps" do step_A = Class.new(Vagrant::Action::Step) do - def execute + def enter # Do nothing. end end @@ -39,7 +39,7 @@ describe Vagrant::Action::MultiStep do step_B = Class.new(Vagrant::Action::Step) do input :obj - def execute + def enter @obj << "B" end end @@ -58,7 +58,7 @@ describe Vagrant::Action::MultiStep do step_A = Class.new(Vagrant::Action::Step) do output :foo - def execute + def enter return :foo => "A" end end @@ -67,7 +67,7 @@ describe Vagrant::Action::MultiStep do input :from output :value - def execute + def enter return :value => @from end end