summaryrefslogtreecommitdiff
path: root/spec/support/path.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r--spec/support/path.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 3e42589f4d..ed46d1a71d 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -100,8 +100,6 @@ module Spec
protocol = "file://"
root = Gem.win_platform? ? "/" : ""
- return protocol + "localhost" + root + path.to_s if RUBY_VERSION < "2.5"
-
protocol + root + path.to_s
end