aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-08-15 10:49:47 +0100
committerGitHub2017-08-15 10:49:47 +0100
commit8518ffdee19c0c985e8631e836b78624e4926c7f (patch)
tree339f183fcac9f561732f109f52a2e348b18deac4 /Library/Homebrew/test
parent60d8218abfe070de765e7a5737cc7e34735288db (diff)
parent961d79011e0f0b2c63cf33f7818a4f0437e1643e (diff)
downloadbrew-8518ffdee19c0c985e8631e836b78624e4926c7f.tar.bz2
Merge pull request #3059 from MikeMcQuaid/why-search-take-so-long
search: explain why it takes the time it does.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/cmd/search_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/cmd/search_spec.rb b/Library/Homebrew/test/cmd/search_spec.rb
index 7c97e6e35..77c2c6352 100644
--- a/Library/Homebrew/test/cmd/search_spec.rb
+++ b/Library/Homebrew/test/cmd/search_spec.rb
@@ -14,7 +14,7 @@ describe "brew search", :integration_test do
it "supports searching by name" do
expect { brew "search", "testball" }
.to output(/testball/).to_stdout
- .and not_to_output.to_stderr
+ .and output(/Searching/).to_stderr
.and be_a_success
end
@@ -25,10 +25,10 @@ describe "brew search", :integration_test do
.and be_a_success
end
- it "falls back to a tap search when no formula is found" do
+ it "falls back to a GitHub tap search when no formula is found", :needs_network do
expect { brew "search", "caskroom/cask/firefox" }
.to output(/firefox/).to_stdout
- .and not_to_output.to_stderr
+ .and output(/Searching/).to_stderr
.and be_a_success
end