Sha256: 4ec83c3af731ba56030dfdada3705c55591e92257764adcb1807277d2339a99e

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

    def results
        [
            'http://test.com',
            'test',
            'test.com',
            'test.gr'
        ]
    end

    def text
        <<EOHTML
        <a class="test" data-url= 'http://test.com'>1</a> <span data-url= 'test.com'>2</span>
        <div data-url = 'test' id=blah>2</div> <p data-url=test.gr >3</p>
EOHTML
    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/data_url_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/data_url_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/data_url_spec.rb
arachni-1.6.1 spec/components/path_extractors/data_url_spec.rb
arachni-1.6.0 spec/components/path_extractors/data_url_spec.rb
arachni-1.5.1 spec/components/path_extractors/data_url_spec.rb
arachni-1.5 spec/components/path_extractors/data_url_spec.rb