aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/realworld/gemfile_source_header_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/realworld/gemfile_source_header_spec.rb')
-rw-r--r--spec/bundler/realworld/gemfile_source_header_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/bundler/realworld/gemfile_source_header_spec.rb b/spec/bundler/realworld/gemfile_source_header_spec.rb
index 382485b8fc..3f507b056a 100644
--- a/spec/bundler/realworld/gemfile_source_header_spec.rb
+++ b/spec/bundler/realworld/gemfile_source_header_spec.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require_relative "../support/silent_logger"
+
RSpec.describe "fetching dependencies with a mirrored source", :realworld => true do
let(:mirror) { "https://server.example.org" }
let(:original) { "http://127.0.0.1:#{@port}" }
@@ -35,7 +37,7 @@ private
@port = find_unused_port
@server_uri = "http://127.0.0.1:#{@port}"
- require File.expand_path("../../support/artifice/endpoint_mirror_source", __FILE__)
+ require_relative "../support/artifice/endpoint_mirror_source"
@t = Thread.new do
Rack::Server.start(:app => EndpointMirrorSource,