Skip to content
Snippets Groups Projects
Commit 8618aa7d authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #2129 from reitermarkus/spec-doctor

Convert `brew doctor` test to spec.
parents 69cf50cd 2b9c81b2
No related branches found
No related tags found
No related merge requests found
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
require "testing_env"
class IntegrationCommandTestDoctor < IntegrationCommandTestCase
def test_doctor
assert_match "This is an integration test",
cmd_fail("doctor", "check_integration_test")
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment