Sha256: a4d284abf75ba520b192cc661a17d2d3282718fd3cc494353b125783f4537721

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'ronin/exploits/ftp'

require 'spec_helper'

describe Exploits::FTP do
  before(:all) do
    @exploit = Exploits::FTP.new do
      self.name = 'example_ftp'
    end

    @exploit.save!
  end

  it "should have a default port of 21" do
    @exploit.default_port.should == 21
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-exploits-0.2.0 spec/exploits/ftp_spec.rb