Use the V1 box helper for a test.

This commit is contained in:
Mitchell Hashimoto 2012-06-27 22:21:56 -07:00
parent 4386ff9887
commit cd6c60775c
1 changed files with 1 additions and 3 deletions

View File

@ -55,9 +55,7 @@ describe Vagrant::BoxCollection2 do
it "should throw an exception if it is a v1 box" do
# Create a V1 box
box_dir = environment.boxes_dir.join("foo")
box_dir.mkpath
box_dir.join("box.ovf").open("w") { |f| f.write("") }
environment.box1("foo")
# Test!
expect { instance.find("foo", :virtualbox) }.