21 lines
477 B
Ruby
21 lines
477 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "cmd/shared_examples/args_parse"
|
|
|
|
describe "brew bump" do
|
|
describe "Homebrew.bump_args" do
|
|
it_behaves_like "parseable arguments"
|
|
end
|
|
|
|
describe "formula", :integration_test do
|
|
it "returns data for valid specified formula" do
|
|
install_test_formula "testball"
|
|
|
|
expect { brew "bump", "--formula=testball" }
|
|
.to output.to_stdout
|
|
.and not_to_output.to_stderr
|
|
.and be_a_success
|
|
end
|
|
end
|
|
end
|