Sha256: 572fadc40b896bc551bb2b8544ce931dd5b45a46c3a1055a6d01a54c475c1125

Contents?: true

Size: 312 Bytes

Versions: 9

Compression:

Stored size: 312 Bytes

Contents

require '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

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.6 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.5.2 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.5.1 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.5 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.4 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.3.2 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.3.1 spec/modules/recon/allowed_methods_spec.rb
arachni-0.4.3 spec/modules/recon/allowed_methods_spec.rb