Sha256: b701123dffe34152443e250e607f3ceff586d201690e5246ed68027fad41ef88

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

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

    easy_test
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.4 spec/components/path_extractors/data_url_spec.rb
arachni-1.3.2 spec/components/path_extractors/data_url_spec.rb
arachni-1.3.1 spec/components/path_extractors/data_url_spec.rb
arachni-1.3 spec/components/path_extractors/data_url_spec.rb
arachni-1.2.1 spec/components/path_extractors/data_url_spec.rb
arachni-1.2 spec/components/path_extractors/data_url_spec.rb