summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmily Giurleo <e.m.giurleo@gmail.com>2020-01-22 15:07:39 -0500
committerEmily Giurleo <e.m.giurleo@gmail.com>2020-01-22 15:07:39 -0500
commit0fb17fce4068f6f82bcbfca0515e0a40401c3143 (patch)
tree5571c5461230da531bdc76427d36c89035d581fe
parent5bd34aacd134d3f41be0247d8eb1b8bd00e8a26e (diff)
downloadbundler-0fb17fce4068f6f82bcbfca0515e0a40401c3143.tar.gz
remove trace and update the specs accordingly
-rw-r--r--lib/bundler/friendly_errors.rb1
-rw-r--r--spec/bundler/friendly_errors_spec.rb5
2 files changed, 0 insertions, 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