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

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