summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/FTPProtoError_spec.rb
blob: 20e30dd2dd39e4b214cd72e4bf56ea112eddcefd (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::FTPProtoError" do
    it "is an Exception" do
      Net::FTPProtoError.should < Exception
    end

    it "is a subclass of Net::FTPError" do
      Net::FTPPermError.should < Net::FTPError
    end
  end
end