summaryrefslogtreecommitdiff
path: root/spec/bundler/bundler/fetcher
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-11 11:13:48 +0900
committernagachika <nagachika@ruby-lang.org>2021-11-22 10:51:35 +0900
commitb19b2e98675a132b4b4a59aa130fd5a9f65d775f (patch)
tree71fc95f6baedbe2b998fa14f5075b73d9c2d4478 /spec/bundler/bundler/fetcher
parente27381d289cbdbdca434bcc957c2cd1beab1c82c (diff)
Merge RubyGems 3.2.31 and Bundler 2.2.31
Diffstat (limited to 'spec/bundler/bundler/fetcher')
-rw-r--r--spec/bundler/bundler/fetcher/downloader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler/fetcher/downloader_spec.rb b/spec/bundler/bundler/fetcher/downloader_spec.rb
index 4d3dff3a89..94a0993a54 100644
--- a/spec/bundler/bundler/fetcher/downloader_spec.rb
+++ b/spec/bundler/bundler/fetcher/downloader_spec.rb
@@ -193,7 +193,7 @@ RSpec.describe Bundler::Fetcher::Downloader do
let(:message) { "undefined method 'undefined_method_call'" }
it "should raise the original NoMethodError" do
- expect { subject.request(uri, options) }.to raise_error(NoMethodError, "undefined method 'undefined_method_call'")
+ expect { subject.request(uri, options) }.to raise_error(NoMethodError, /undefined method 'undefined_method_call'/)
end
end
end