added param expectation to export action recover call for cleanup
This commit is contained in:
parent
c248db2bf9
commit
e9a9e4abc0
|
@ -24,7 +24,7 @@ class ExportVMActionTest < Test::Unit::TestCase
|
|||
@instance.expects(:setup_temp_dir).in_sequence(seq)
|
||||
@instance.expects(:export).in_sequence(seq)
|
||||
@app.expects(:call).with(@env).in_sequence(seq)
|
||||
@instance.expects(:recover).in_sequence(seq)
|
||||
@instance.expects(:recover).in_sequence(seq).with(@env)
|
||||
|
||||
@instance.call(@env)
|
||||
end
|
||||
|
|
|
@ -130,8 +130,6 @@ class ActionWardenTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
def new_env
|
||||
Vagrant::Action::Environment.new(nil)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue