summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/FTPReplyError_spec.rb
blob: cc774aabe5baf56acc2614384a8c13e987fa20c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require_relative '../../spec_helper'

ruby_version_is ""..."3.1" do
  require 'net/ftp'

  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
  end
end