Make this test actually test something

This commit is contained in:
Mitchell Hashimoto 2010-12-24 18:41:18 -08:00
parent 2018fd8645
commit 4d8e3dc1bf
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ class CleanMachineFolderVMActionTest < Test::Unit::TestCase
should "do nothing if folder is < 10 characters" do should "do nothing if folder is < 10 characters" do
VirtualBox::Global.global.system_properties.stubs(:default_machine_folder).returns("foo") VirtualBox::Global.global.system_properties.stubs(:default_machine_folder).returns("foo")
Dir.expects(:[]).never Dir.expects(:[]).never
@instance.clean_machine_folder
end end
end end
end end