summaryrefslogtreecommitdiff
path: root/spec/ruby/library/uri/generic/host_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/uri/generic/host_spec.rb')
-rw-r--r--spec/ruby/library/uri/generic/host_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/uri/generic/host_spec.rb b/spec/ruby/library/uri/generic/host_spec.rb
index 2de0e7ec09..210124ef66 100644
--- a/spec/ruby/library/uri/generic/host_spec.rb
+++ b/spec/ruby/library/uri/generic/host_spec.rb
@@ -2,7 +2,7 @@ require_relative '../../../spec_helper'
require 'uri'
describe "URI::Generic#host" do
- ruby_version_is "3.2" do
+ version_is URI::VERSION, "0.12" do #ruby_version_is "3.2" do
# https://hackerone.com/reports/156615
it "returns empty string when host is empty" do
URI.parse('http:////foo.com').host.should == ''