summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/doctor_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-06-30 12:27:03 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-24 14:59:34 +0900
commit0e7536bf490cf4b26cf075810e918a5840dbb08b (patch)
treea9b2f3d0b829116c07615337510bb14b747b901e /spec/bundler/commands/doctor_spec.rb
parent5a43b0ddd5617ba611db9d2ab1dd7e8054a2c536 (diff)
[rubygems/rubygems] Prefer squiggly heredocs over custom helper
https://github.com/rubygems/rubygems/commit/258476c38a
Diffstat (limited to 'spec/bundler/commands/doctor_spec.rb')
-rw-r--r--spec/bundler/commands/doctor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/doctor_spec.rb b/spec/bundler/commands/doctor_spec.rb
index 1afac00923..13aaf2670c 100644
--- a/spec/bundler/commands/doctor_spec.rb
+++ b/spec/bundler/commands/doctor_spec.rb
@@ -59,7 +59,7 @@ RSpec.describe "bundle doctor" do
expect(doctor).to receive(:bundles_for_gem).exactly(2).times.and_return ["/path/to/rack/rack.bundle"]
expect(doctor).to receive(:dylibs).exactly(2).times.and_return ["/usr/local/opt/icu4c/lib/libicui18n.57.1.dylib"]
allow(Fiddle).to receive(:dlopen).with("/usr/local/opt/icu4c/lib/libicui18n.57.1.dylib").and_raise(Fiddle::DLError)
- expect { doctor.run }.to raise_error(Bundler::ProductionError, strip_whitespace(<<-E).strip), @stdout.string
+ expect { doctor.run }.to raise_error(Bundler::ProductionError, <<~E.strip), @stdout.string
The following gems are missing OS dependencies:
* bundler: /usr/local/opt/icu4c/lib/libicui18n.57.1.dylib
* rack: /usr/local/opt/icu4c/lib/libicui18n.57.1.dylib