diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-30 18:38:29 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-04 17:49:26 +0100 |
commit | 43c7f2ee13225cc8eb8431afbcbd87c8d1856bf8 (patch) | |
tree | f76e3e4046da12b2e84a8e5c4ad2b9bcb2b173ea /spec/realworld/dependency_api_spec.rb | |
parent | 3a4b5d6b25ffc7699ac7f6c430a9c2f719bc429c (diff) | |
download | bundler-43c7f2ee13225cc8eb8431afbcbd87c8d1856bf8.tar.gz |
Simplify a bunch of test requires
Diffstat (limited to 'spec/realworld/dependency_api_spec.rb')
-rw-r--r-- | spec/realworld/dependency_api_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/realworld/dependency_api_spec.rb b/spec/realworld/dependency_api_spec.rb index c04003073e..dea8329a4d 100644 --- a/spec/realworld/dependency_api_spec.rb +++ b/spec/realworld/dependency_api_spec.rb @@ -10,7 +10,7 @@ RSpec.describe "gemcutter's dependency API", :realworld => true do port = find_unused_port @server_uri = "http://127.0.0.1:#{port}" - require File.expand_path("../../support/artifice/endpoint_timeout", __FILE__) + require_relative "../support/artifice/endpoint_timeout" @t = Thread.new do server = Rack::Server.start(:app => EndpointTimeout, |