Sha256: 8dd0c98ef556d0a0340ffbcde3719532c9be9c27fda2630a040a5d9df42198ce

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

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