summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2020-01-27 11:17:41 +0000
committerBundlerbot <bot@bundler.io>2020-01-27 11:17:41 +0000
commit1c45e0bca1e8a5015f188e58c1494d2a33496734 (patch)
tree3cc8c273a83ec0577c3ee2fab9156ced8473ec37 /spec
parentd070b1cbd174910af63b3e0bb96cc3155ad8ed32 (diff)
parentbb566b751c1a6e190920dba2d1d356b5b240b721 (diff)
downloadbundler-1c45e0bca1e8a5015f188e58c1494d2a33496734.tar.gz
Merge #7597
7597: Don't call Warn on LoadError r=deivid-rodriguez a=egiurleo Related to #7192 and #7527. When trying to run bundler without OpenSSL, the resulting warning recommends recompiling Ruby, changing the Gemfile sources to http, and then gives an RVM-specific link that won't be helpful for everyone. I think the error message is now specific enough to stand on its own and help people debug, so we should remove the warning entirely. (Open to other opinions, though.) Co-authored-by: Emily Giurleo <e.m.giurleo@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/friendly_errors_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/bundler/friendly_errors_spec.rb b/spec/bundler/friendly_errors_spec.rb
index e7addda3f2..169360c55a 100644
--- a/spec/bundler/friendly_errors_spec.rb
+++ b/spec/bundler/friendly_errors_spec.rb
@@ -123,11 +123,6 @@ RSpec.describe Bundler, "friendly errors" do
expect(Bundler.ui).to receive(:error).with("\nCould not load OpenSSL. LoadError: cannot load such file -- openssl\nbacktrace")
Bundler::FriendlyErrors.log_error(error)
end
-
- it "Bundler.ui receive warn" do
- expect(Bundler.ui).to receive(:warn).with(any_args, :wrap => true)
- Bundler::FriendlyErrors.log_error(error)
- end
end
context "Interrupt" do