brew/Library/Homebrew/test/cmd/untap_spec.rb

17 lines
365 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "cmd/shared_examples/args_parse"
RSpec.describe "brew untap" do
it_behaves_like "parseable arguments"
it "untaps a given Tap", :integration_test do
setup_test_tap
expect { brew "untap", "homebrew/foo" }
2020-09-17 04:18:13 +05:30
.to output(/Untapped/).to_stderr
.and not_to_output.to_stdout
.and be_a_success
end
end