diff options
Diffstat (limited to 'Library/Homebrew/test/cask/cli/style_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/style_spec.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Homebrew/test/cask/cli/style_spec.rb b/Library/Homebrew/test/cask/cli/style_spec.rb index d021d8000..d41636beb 100644 --- a/Library/Homebrew/test/cask/cli/style_spec.rb +++ b/Library/Homebrew/test/cask/cli/style_spec.rb @@ -62,7 +62,7 @@ describe Hbc::CLI::Style, :cask do      context "when installation succeeds" do        before do -        allow(Homebrew).to receive(:run_bundler_if_needed!) +        allow(Homebrew).to receive(:install_gem_setup_path!)        end        it "exits successfully" do @@ -72,7 +72,7 @@ describe Hbc::CLI::Style, :cask do      context "when installation fails" do        before do -        allow(Homebrew).to receive(:run_bundler_if_needed!).and_raise(SystemExit) +        allow(Homebrew).to receive(:install_gem_setup_path!).and_raise(SystemExit)        end        it "raises an error" do | 
