Sha256: e539278cc6c3fb6adfa0f28e108317af2f6ce8bd725c177763a642f7be672af1

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

require 'ronin/exploits/http'

require 'spec_helper'

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

    @exploit.save!
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

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