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

14 lines
298 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "cmd/shared_examples/args_parse"
RSpec.describe "brew pin" do
it_behaves_like "parseable arguments"
it "pins a Formula's version", :integration_test do
install_test_formula "testball"
2017-07-29 19:55:05 +02:00
expect { brew "pin", "testball" }.to be_a_success
end
end