Make this test actually test something
This commit is contained in:
parent
2018fd8645
commit
4d8e3dc1bf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue