# 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" expect { brew "pin", "testball" }.to be_a_success end end