aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/net/FTPProtoError_spec.rb
blob: 445ba1cd2f75bdb4171b0b81d8d7fc18a7460730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../spec_helper', __FILE__)
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