Added before/after callbacks around import to stabilize persisting of VM UUID.

This commit is contained in:
Mitchell Hashimoto 2010-02-14 23:48:44 -08:00 committed by John Bender
parent c176a04cfa
commit 2babb25686
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class Test::Unit::TestCase
@mock_vm.stubs(:vm=) @mock_vm.stubs(:vm=)
@mock_vm.stubs(:invoke_callback) @mock_vm.stubs(:invoke_callback)
@mock_vm.stubs(:invoke_around_callback).yields @mock_vm.stubs(:invoke_around_callback).yields
@action = action_klass.new(@mock_vm) @action = action_klass.new(@mock_vm)
[@mock_vm, @vm, @action] [@mock_vm, @vm, @action]