Sha256: dbbfbbb75071d33907e25a9aafeabd3981c4b0a09a692a8060b238494532163c

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

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

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

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