Sha256: 53d8341aadcdfc42c84021f4a20a93940ed6e8086bc38269b7389a56bc198c52

Contents?: true

Size: 318 Bytes

Versions: 7

Compression:

Stored size: 318 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| "<link href='#{u}'>Stuff</link>" }.join
    end

    easy_test
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/path_extractors/links_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/links_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/links_spec.rb
arachni-1.6.1 spec/components/path_extractors/links_spec.rb
arachni-1.6.0 spec/components/path_extractors/links_spec.rb
arachni-1.5.1 spec/components/path_extractors/links_spec.rb
arachni-1.5 spec/components/path_extractors/links_spec.rb