aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/sh_spec.rb
blob: 5260ddb75c2d6224e8decfbd177f60d72e8c9d1c (plain)
1
2
3
4
5
6
7
8
describe "brew sh", :integration_test do
  it "runs a shell with the Homebrew environment" do
    expect { brew "sh", "SHELL" => which("true") }
      .to output(/Your shell has been configured/).to_stdout
      .and not_to_output.to_stderr
      .and be_a_success
  end
end