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

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