Convert brew doctor test to spec.

This commit is contained in:
Markus Reiter 2017-02-23 06:05:40 +01:00
parent c7121f6be5
commit 2b9c81b225
2 changed files with 6 additions and 8 deletions

View File

@ -0,0 +1,6 @@
describe "brew doctor", :integration_test do
specify "check_integration_test" do
expect { brew "doctor", "check_integration_test" }
.to output(/This is an integration test/).to_stderr
end
end

View File

@ -1,8 +0,0 @@
require "testing_env"
class IntegrationCommandTestDoctor < IntegrationCommandTestCase
def test_doctor
assert_match "This is an integration test",
cmd_fail("doctor", "check_integration_test")
end
end