diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/bundler/bundler/fetcher/downloader_spec.rb | 2 |
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 40ae7109ab..7184f22c4f 100644 --- a/spec/bundler/bundler/fetcher/downloader_spec.rb +++ b/spec/bundler/bundler/fetcher/downloader_spec.rb @@ -206,7 +206,7 @@ RSpec.describe Bundler::Fetcher::Downloader do let(:error) { RuntimeError.new(message) } before do - stub_const("Bundler::Fetcher::HTTP_ERRORS", [RuntimeError]) + stub_const("#{described_class}::HTTP_ERRORS", [RuntimeError]) allow(connection).to receive(:request).with(uri, net_http_get) { raise error } end |
