From 9eadee94084713f39a82f17eb7ff34fe955ba351 Mon Sep 17 00:00:00 2001 From: Zach Auten Date: Fri, 15 Mar 2019 22:19:12 -0400 Subject: [PATCH] moved info_spec cask test to its own describe block to fix error --- Library/Homebrew/test/cmd/info_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/test/cmd/info_spec.rb b/Library/Homebrew/test/cmd/info_spec.rb index 50dd05fd11..1f43aff8cb 100644 --- a/Library/Homebrew/test/cmd/info_spec.rb +++ b/Library/Homebrew/test/cmd/info_spec.rb @@ -18,12 +18,12 @@ describe "brew info", :integration_test do .and not_to_output.to_stderr .and be_a_success end +end - it "looks for a Cask with the same name if a given Formula does not exist", :needs_macos, :needs_network do - setup_remote_tap "homebrew/cask" - - expect { brew "info", "firefox" } - .to output(/Found the following cask named "firefox" instead:\nfirefox: .+ \(auto_updates\)\n/).to_stderr +describe "brew info", :integration_test, :needs_macos do + it "looks for a Cask with the same name if a given Formula does not exist" do + expect { brew "info", "basic-cask" } + .to output(/Found the following cask named "basic-cask" instead:\nbasic-cask: .+\n/).to_stderr end end