Sha256: 6dc71ca14f05a143c5333d7857dcd652c6b67c013e69f99186604082d62a9285

Contents?: true

Size: 327 Bytes

Versions: 5

Compression:

Stored size: 327 Bytes

Contents

require_relative '../../spec_helper'

describe name_from_filename do
    include_examples 'module'

    def self.targets
        %w(Generic)
    end

    def self.elements
        [ Element::SERVER ]
    end

    def issue_count
        1
    end

    easy_test { issues.first.match.should == 'OPTIONS, TRACE, GET, HEAD' }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.1.3 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.1.2 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.1.1 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.1 spec/modules/recon/allowed_methods_spec.rb