From c41e758a0abed686f29dd701c9bd58dce12ec4ce Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Dec 2011 13:35:03 -0800 Subject: [PATCH] box acceptance tests passing again --- test/acceptance/box_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/box_test.rb b/test/acceptance/box_test.rb index 13e57a1f3..b8b24ff17 100644 --- a/test/acceptance/box_test.rb +++ b/test/acceptance/box_test.rb @@ -23,7 +23,7 @@ describe "vagrant box" do it "gives an error if the file doesn't exist" do result = execute("vagrant", "box", "add", "foo", "/tmp/nope/nope/nope/nonono.box") result.should_not be_success - result.stdout.should match_output(:box_path_doesnt_exist) + result.stderr.should match_output(:box_path_doesnt_exist) end it "gives an error if the file is not a valid box" do @@ -34,7 +34,7 @@ describe "vagrant box" do result = execute("vagrant", "box", "add", "foo", invalid.to_s) result.should_not be_success - result.stdout.should match_output(:box_invalid) + result.stderr.should match_output(:box_invalid) end it "can add a box from an HTTP server" do