Skip to content
Snippets Groups Projects
Commit 540a1360 authored by Markus Reiter's avatar Markus Reiter
Browse files

Convert `brew config` test to spec.

parent c7121f6b
No related branches found
No related tags found
No related merge requests found
describe "brew config", :integration_test do
it "prints information about the current Homebrew configuration" do
expect { brew "config" }
.to output(/HOMEBREW_VERSION: #{HOMEBREW_VERSION}/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end
require "testing_env"
class IntegrationCommandTestConfig < IntegrationCommandTestCase
def test_config
assert_match "HOMEBREW_VERSION: #{HOMEBREW_VERSION}",
cmd("config")
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