mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
17 lines
380 B
Ruby
17 lines
380 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "cmd/search"
|
|
require "cmd/shared_examples/args_parse"
|
|
|
|
RSpec.describe Homebrew::Cmd::SearchCmd do
|
|
it_behaves_like "parseable arguments"
|
|
|
|
it "finds formula in search", :integration_test do
|
|
setup_test_formula "testball"
|
|
|
|
expect { brew "search", "testball" }
|
|
.to output(/testball/).to_stdout
|
|
.and be_a_success
|
|
end
|
|
end
|