Sha256: dd08e6d88dbca3badf0a9c77b63ac5f07247582bb66c18381feff9e47f01529c

Contents?: true

Size: 571 Bytes

Versions: 5

Compression:

Stored size: 571 Bytes

Contents

require_relative '../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

5 entries across 5 versions & 1 rubygems

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