Fix more tests to expect error messages on stderr

This commit is contained in:
Mitchell Hashimoto 2011-12-10 13:50:46 -08:00
parent 6093dcc26d
commit e15b974c15
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ shared_examples "a command that requires a Vagrantfile" do |*args|
it "fails if no Vagrantfile is found" do it "fails if no Vagrantfile is found" do
result = execute(*command) result = execute(*command)
result.should_not be_success result.should_not be_success
result.stdout.should match_output(:no_vagrantfile) result.stderr.should match_output(:no_vagrantfile)
end end
end end
@ -28,6 +28,6 @@ shared_examples "a command that requires a virtual machine" do |*args|
result = execute(*command) result = execute(*command)
result.should_not be_success result.should_not be_success
result.stdout.should match_output(:error_vm_must_be_created) result.stderr.should match_output(:error_vm_must_be_created)
end end
end end