Sha256: ff7891bec10c85f4082e67bb9ebccc50d14c8fcaa5e219b0d946d234d68b4d88

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/path_extractors/scripts_spec.rb
arachni-0.4.6 spec/path_extractors/scripts_spec.rb
arachni-0.4.5.2 spec/path_extractors/scripts_spec.rb
arachni-0.4.5.1 spec/path_extractors/scripts_spec.rb
arachni-0.4.5 spec/path_extractors/scripts_spec.rb
arachni-0.4.4 spec/path_extractors/scripts_spec.rb
arachni-0.4.3.2 spec/path_extractors/scripts_spec.rb
arachni-0.4.3.1 spec/path_extractors/scripts_spec.rb
arachni-0.4.3 spec/path_extractors/scripts_spec.rb