Sha256: a79f4e2d712ff1d651de605ed44774329e5c1092a8d75dedd3db60f3aee148b0

Contents?: true

Size: 320 Bytes

Versions: 30

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

    def results
        [
            'http://test.com',
            'test',
            'test.com'
        ]
    end

    def text
        results.map { |u| "<form action='#{u}'>Stuff</form>" }.join
    end

    easy_test
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/path_extractors/forms_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/forms_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/forms_spec.rb
arachni-1.6.1 spec/components/path_extractors/forms_spec.rb
arachni-1.6.0 spec/components/path_extractors/forms_spec.rb
arachni-1.5.1 spec/components/path_extractors/forms_spec.rb
arachni-1.5 spec/components/path_extractors/forms_spec.rb
arachni-1.4 spec/components/path_extractors/forms_spec.rb
arachni-1.3.2 spec/components/path_extractors/forms_spec.rb
arachni-1.3.1 spec/components/path_extractors/forms_spec.rb
arachni-1.3 spec/components/path_extractors/forms_spec.rb
arachni-1.2.1 spec/components/path_extractors/forms_spec.rb
arachni-1.2 spec/components/path_extractors/forms_spec.rb
arachni-1.1 spec/components/path_extractors/forms_spec.rb
arachni-1.0.6 spec/components/path_extractors/forms_spec.rb
arachni-1.0.5 spec/components/path_extractors/forms_spec.rb
arachni-1.0.4 spec/components/path_extractors/forms_spec.rb
arachni-1.0.3 spec/components/path_extractors/forms_spec.rb
arachni-1.0.2 spec/components/path_extractors/forms_spec.rb
arachni-1.0.1 spec/components/path_extractors/forms_spec.rb