Sha256: ff9d69c593af019cc063c5e675f03a0cd844358affcdb05aeaf8b638e77aaa67

Contents?: true

Size: 318 Bytes

Versions: 23

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</form>" }.join
    end

    easy_test
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
arachni-1.4 spec/components/path_extractors/links_spec.rb
arachni-1.3.2 spec/components/path_extractors/links_spec.rb
arachni-1.3.1 spec/components/path_extractors/links_spec.rb
arachni-1.3 spec/components/path_extractors/links_spec.rb
arachni-1.2.1 spec/components/path_extractors/links_spec.rb
arachni-1.2 spec/components/path_extractors/links_spec.rb
arachni-1.1 spec/components/path_extractors/links_spec.rb
arachni-1.0.6 spec/components/path_extractors/links_spec.rb
arachni-1.0.5 spec/components/path_extractors/links_spec.rb
arachni-1.0.4 spec/components/path_extractors/links_spec.rb
arachni-1.0.3 spec/components/path_extractors/links_spec.rb
arachni-1.0.2 spec/components/path_extractors/links_spec.rb
arachni-1.0.1 spec/components/path_extractors/links_spec.rb
arachni-1.0 spec/components/path_extractors/links_spec.rb
arachni-0.4.7 spec/path_extractors/links_spec.rb
arachni-0.4.6 spec/path_extractors/links_spec.rb
arachni-0.4.5.2 spec/path_extractors/links_spec.rb
arachni-0.4.5.1 spec/path_extractors/links_spec.rb
arachni-0.4.5 spec/path_extractors/links_spec.rb
arachni-0.4.4 spec/path_extractors/links_spec.rb