Fix tests to not clear line
This commit is contained in:
parent
124a9ab19d
commit
14bb07e08f
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue