Tests passing again due to config.vm.customize change earlier
This commit is contained in:
parent
f37710a4bd
commit
7d89d011fb
|
@ -14,6 +14,7 @@ class CustomizeVMActionTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
should "not run anything if no customize blocks exist" do
|
||||
@env.env.config.vm.proc_stack.clear
|
||||
@internal_vm.expects(:save).never
|
||||
@app.expects(:call).with(@env).once
|
||||
@instance.call(@env)
|
||||
|
|
|
@ -42,7 +42,7 @@ class ConfigVMTest < Test::Unit::TestCase
|
|||
should "add the customize proc to the proc stack" do
|
||||
proc = Proc.new {}
|
||||
@config.customize(&proc)
|
||||
assert_equal [proc], @config.proc_stack
|
||||
assert @config.proc_stack.include?(proc)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue