Sha256: 231f5e094b7caa3fbdfebfae9edad3b4cafa0b201482d0e17d7cd57f0c5c543e

Contents?: true

Size: 559 Bytes

Versions: 18

Compression:

Stored size: 559 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

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

    def text
        <<-HTML
            <meta http-equiv="refresh" content="5">
            <meta http-equiv="refreSH" content="5;URL='test.com'">
            <meta http-equiv="Refresh" content='0;URL="http://test.com"'>
            <meta http-equiv="refResh" content='0;URL=http://test2.com'>
        HTML
    end

    easy_test
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.3.1 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.3 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.2.1 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.2 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.1 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.6 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.5 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.4 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.3 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.2 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0.1 spec/components/path_extractors/meta_refresh_spec.rb
arachni-1.0 spec/components/path_extractors/meta_refresh_spec.rb
arachni-0.4.7 spec/path_extractors/meta_refresh_spec.rb
arachni-0.4.6 spec/path_extractors/meta_refresh_spec.rb
arachni-0.4.5.2 spec/path_extractors/meta_refresh_spec.rb
arachni-0.4.5.1 spec/path_extractors/meta_refresh_spec.rb
arachni-0.4.5 spec/path_extractors/meta_refresh_spec.rb