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.0 spec/components/path_extractors/forms_spec.rb
arachni-0.4.7 spec/path_extractors/forms_spec.rb
arachni-0.4.6 spec/path_extractors/forms_spec.rb
arachni-0.4.5.2 spec/path_extractors/forms_spec.rb
arachni-0.4.5.1 spec/path_extractors/forms_spec.rb
arachni-0.4.5 spec/path_extractors/forms_spec.rb
arachni-0.4.4 spec/path_extractors/forms_spec.rb
arachni-0.4.3.2 spec/path_extractors/forms_spec.rb
arachni-0.4.3.1 spec/path_extractors/forms_spec.rb
arachni-0.4.3 spec/path_extractors/forms_spec.rb