Sha256: b77df0f44855754107274d506d4912ac682275226de1c7ddaa7ef57b2bd52761

Contents?: true

Size: 374 Bytes

Versions: 30

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

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

    def text
        results[0...-1].map { |u| "<frame src='#{u}' />" }.join + "<iframe src='iframe.com' />"
    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/frames_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/frames_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/frames_spec.rb
arachni-1.6.1 spec/components/path_extractors/frames_spec.rb
arachni-1.6.0 spec/components/path_extractors/frames_spec.rb
arachni-1.5.1 spec/components/path_extractors/frames_spec.rb
arachni-1.5 spec/components/path_extractors/frames_spec.rb
arachni-1.4 spec/components/path_extractors/frames_spec.rb
arachni-1.3.2 spec/components/path_extractors/frames_spec.rb
arachni-1.3.1 spec/components/path_extractors/frames_spec.rb
arachni-1.3 spec/components/path_extractors/frames_spec.rb
arachni-1.2.1 spec/components/path_extractors/frames_spec.rb
arachni-1.2 spec/components/path_extractors/frames_spec.rb
arachni-1.1 spec/components/path_extractors/frames_spec.rb
arachni-1.0.6 spec/components/path_extractors/frames_spec.rb
arachni-1.0.5 spec/components/path_extractors/frames_spec.rb
arachni-1.0.4 spec/components/path_extractors/frames_spec.rb
arachni-1.0.3 spec/components/path_extractors/frames_spec.rb
arachni-1.0.2 spec/components/path_extractors/frames_spec.rb
arachni-1.0.1 spec/components/path_extractors/frames_spec.rb