Sha256: b5952b54d7e755c50f50d493f6c88327e5293e1346b856e0449d5a5b6603c533

Contents?: true

Size: 538 Bytes

Versions: 5

Compression:

Stored size: 538 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

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

    def text
        <<-HTML
            <script>
                var url  = 'http://test.com';
                var url2 = "https://test.com";
            </script>

            http://blah.com
            https://blah.com
        HTML
    end

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

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