summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net-ftp/FTPProtoError_spec.rb
blob: e7abbc0dd81acf0a3330947aac126c017febd74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../../spec_helper'
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