summaryrefslogtreecommitdiff
path: root/spec/ruby/library
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-09-30 13:43:19 +0200
committerBenoit Daloze <eregontp@gmail.com>2020-09-30 13:43:19 +0200
commit65e8a293892800d2201899de51d19ed7ce362bbf (patch)
tree57257cf5466e3f20e26dbbc306d66b188574dedd /spec/ruby/library
parentbbecf1eb6b5651a073eb20c9b137cfe08d2739aa (diff)
Update to ruby/spec@bfd843a
Diffstat (limited to 'spec/ruby/library')
-rw-r--r--spec/ruby/library/net/http/HTTPServerException_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/net/http/HTTPServerException_spec.rb b/spec/ruby/library/net/http/HTTPServerException_spec.rb
index 6800c625f7..87841ab499 100644
--- a/spec/ruby/library/net/http/HTTPServerException_spec.rb
+++ b/spec/ruby/library/net/http/HTTPServerException_spec.rb
@@ -13,7 +13,7 @@ ruby_version_is ""..."2.6" do
end
end
-ruby_version_is "2.6"..."3.0" do
+ruby_version_is "2.6" do
describe "Net::HTTPServerException" do
it "is a subclass of Net::ProtoServerError and is warned as deprecated" do
-> { Net::HTTPServerException.should < Net::ProtoServerError }.should complain(/warning: constant Net::HTTPServerException is deprecated/)