Sha256: 0520b0edb153f8a2030eea4b915df91840fe2dcebd292fc71ca98d81c7848be5

Contents?: true

Size: 526 Bytes

Versions: 30

Compression:

Stored size: 526 Bytes

Contents

require '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

30 entries across 30 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/path_extractors/generic_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/generic_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/generic_spec.rb
arachni-1.6.1 spec/components/path_extractors/generic_spec.rb
arachni-1.6.0 spec/components/path_extractors/generic_spec.rb
arachni-1.5.1 spec/components/path_extractors/generic_spec.rb
arachni-1.5 spec/components/path_extractors/generic_spec.rb
arachni-1.4 spec/components/path_extractors/generic_spec.rb
arachni-1.3.2 spec/components/path_extractors/generic_spec.rb
arachni-1.3.1 spec/components/path_extractors/generic_spec.rb
arachni-1.3 spec/components/path_extractors/generic_spec.rb
arachni-1.2.1 spec/components/path_extractors/generic_spec.rb
arachni-1.2 spec/components/path_extractors/generic_spec.rb
arachni-1.1 spec/components/path_extractors/generic_spec.rb
arachni-1.0.6 spec/components/path_extractors/generic_spec.rb
arachni-1.0.5 spec/components/path_extractors/generic_spec.rb
arachni-1.0.4 spec/components/path_extractors/generic_spec.rb
arachni-1.0.3 spec/components/path_extractors/generic_spec.rb
arachni-1.0.2 spec/components/path_extractors/generic_spec.rb
arachni-1.0.1 spec/components/path_extractors/generic_spec.rb