aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/uninstall_spec.rb
blob: 65f69e802fa21a3cfbc29bbd33030d1a3731b995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
describe "brew uninstall", :integration_test do
  it "uninstalls a given Formula" do
    shutup do
      expect { brew "install", testball }.to be_a_success
    end

    expect { brew "uninstall", "--force", testball }
      .to output(/Uninstalling testball/).to_stdout
      .and not_to_output.to_stderr
      .and be_a_success
  end
end