From 14bb07e08fbe3697500f578dca79941b253e5608 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 8 May 2010 20:28:42 -0700 Subject: [PATCH] Fix tests to not clear line --- test/vagrant/actions/vm/export_test.rb | 1 + test/vagrant/actions/vm/import_test.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/test/vagrant/actions/vm/export_test.rb b/test/vagrant/actions/vm/export_test.rb index 8c8bc72f9..d0ecababe 100644 --- a/test/vagrant/actions/vm/export_test.rb +++ b/test/vagrant/actions/vm/export_test.rb @@ -3,6 +3,7 @@ require File.join(File.dirname(__FILE__), '..', '..', '..', 'test_helper') class ExportActionTest < Test::Unit::TestCase setup do @runner, @vm, @action = mock_action(Vagrant::Actions::VM::Export) + @action.stubs(:complete_progress) end context "executing" do diff --git a/test/vagrant/actions/vm/import_test.rb b/test/vagrant/actions/vm/import_test.rb index c06803ba4..2b1cebef9 100644 --- a/test/vagrant/actions/vm/import_test.rb +++ b/test/vagrant/actions/vm/import_test.rb @@ -10,6 +10,8 @@ class ImportActionTest < Test::Unit::TestCase @runner.env.stubs(:box).returns(@box) VirtualBox::VM.stubs(:import) + + @import.stubs(:complete_progress) end should "run in a busy block" do