summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net-ftp/FTPReplyError_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net-ftp/FTPReplyError_spec.rb')
-rw-r--r--spec/ruby/library/net-ftp/FTPReplyError_spec.rb17
1 files changed, 7 insertions, 10 deletions
diff --git a/spec/ruby/library/net-ftp/FTPReplyError_spec.rb b/spec/ruby/library/net-ftp/FTPReplyError_spec.rb
index cc774aabe5..fcc7501fc1 100644
--- a/spec/ruby/library/net-ftp/FTPReplyError_spec.rb
+++ b/spec/ruby/library/net-ftp/FTPReplyError_spec.rb
@@ -1,15 +1,12 @@
require_relative '../../spec_helper'
+require 'net/ftp'
-ruby_version_is ""..."3.1" do
- require 'net/ftp'
-
- describe "Net::FTPReplyError" do
- it "is an Exception" do
- Net::FTPReplyError.should < Exception
- end
+describe "Net::FTPReplyError" do
+ it "is an Exception" do
+ Net::FTPReplyError.should < Exception
+ end
- it "is a subclass of Net::FTPError" do
- Net::FTPPermError.should < Net::FTPError
- end
+ it "is a subclass of Net::FTPError" do
+ Net::FTPPermError.should < Net::FTPError
end
end