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

Merge pull request #2151 from reitermarkus/spec-config

Convert `brew config` test to spec.
parents edbdaae6 540a1360
No related branches found
No related tags found
Loading
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