From 0fb17fce4068f6f82bcbfca0515e0a40401c3143 Mon Sep 17 00:00:00 2001 From: Emily Giurleo Date: Wed, 22 Jan 2020 15:07:39 -0500 Subject: remove trace and update the specs accordingly --- lib/bundler/friendly_errors.rb | 1 - spec/bundler/friendly_errors_spec.rb | 5 ----- 2 files changed, 6 deletions(-) diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 4664088084..9d8b67f55a 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -29,7 +29,6 @@ module Bundler Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL \ using RVM are available at https://rvm.io/packages/openssl. WARN - Bundler.ui.trace error when Interrupt Bundler.ui.error "\nQuitting..." Bundler.ui.trace error diff --git a/spec/bundler/friendly_errors_spec.rb b/spec/bundler/friendly_errors_spec.rb index e89fa01f45..db27622b79 100644 --- a/spec/bundler/friendly_errors_spec.rb +++ b/spec/bundler/friendly_errors_spec.rb @@ -124,11 +124,6 @@ RSpec.describe Bundler, "friendly errors" do expect(Bundler.ui).to receive(:warn).with(any_args, :wrap => true) Bundler::FriendlyErrors.log_error(error) end - - it "Bundler.ui receive trace" do - expect(Bundler.ui).to receive(:trace).with(error) - Bundler::FriendlyErrors.log_error(error) - end end context "Interrupt" do -- cgit v1.2.1