summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/HTTPServerException_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net/http/HTTPServerException_spec.rb')
-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/)