Fix tests to not clear line

This commit is contained in:
Mitchell Hashimoto 2010-05-08 20:28:42 -07:00
parent 124a9ab19d
commit 14bb07e08f
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ require File.join(File.dirname(__FILE__), '..', '..', '..', 'test_helper')
class ExportActionTest < Test::Unit::TestCase class ExportActionTest < Test::Unit::TestCase
setup do setup do
@runner, @vm, @action = mock_action(Vagrant::Actions::VM::Export) @runner, @vm, @action = mock_action(Vagrant::Actions::VM::Export)
@action.stubs(:complete_progress)
end end
context "executing" do context "executing" do

View File

@ -10,6 +10,8 @@ class ImportActionTest < Test::Unit::TestCase
@runner.env.stubs(:box).returns(@box) @runner.env.stubs(:box).returns(@box)
VirtualBox::VM.stubs(:import) VirtualBox::VM.stubs(:import)
@import.stubs(:complete_progress)
end end
should "run in a busy block" do should "run in a busy block" do