From fd686dd41a0748d4637a26eb969dc51e3391bf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 29 Nov 2019 18:13:00 +0100 Subject: [PATCH] No longer need workarounds since our uri version is fixed --- spec/support/path.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/support/path.rb b/spec/support/path.rb index 3e42589f4d3..ed46d1a71d4 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -100,8 +100,6 @@ def file_uri_for(path) protocol = "file://" root = Gem.win_platform? ? "/" : "" - return protocol + "localhost" + root + path.to_s if RUBY_VERSION < "2.5" - protocol + root + path.to_s end