Sha256: 46a20c0e09c9aff98828e42bafd47bdf110c70ed604a216de72c29d65af4cdd8

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

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

    def text
        results.map { |u| "<script src='#{u}'>Stuff</script>" }.join
    end

    easy_test
end

Version data entries

5 entries across 5 versions & 1 rubygems

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