Multistep tests pass again.

This commit is contained in:
Mitchell Hashimoto 2011-12-05 21:08:31 -08:00
parent c5eae41fd8
commit 5b87165e97
1 changed files with 6 additions and 6 deletions

View File

@ -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