Sha256: 42188fbbb74fe69a1472d42babd85e44febaff6135cd421be3e6a7dd80ac3163

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

require_relative '../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

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/path_extractors/forms_spec.rb
arachni-0.4.1.3 spec/path_extractors/forms_spec.rb
arachni-0.4.1.2 spec/path_extractors/forms_spec.rb
arachni-0.4.1.1 spec/path_extractors/forms_spec.rb
arachni-0.4.1 spec/path_extractors/forms_spec.rb