Sha256: 1b15c0731e569529481ee0684a8b96093cf890556ef804d06a4fea0696dd720f

Contents?: true

Size: 523 Bytes

Versions: 4

Compression:

Stored size: 523 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'path_extractor'

    def results
        [
            '/stuff/here.php',
            '/stuff/here',
            '/other/stuff/here.php'
        ]
    end

    def text
        <<-HTML
            <!-- Blah blah: /stuff/here.php -->
<!--
/other/stuff/here.php
-->
            <!-- <style type="text/css"> stuff: here; </style> -->
            Blah blah...
            <!--Pre blah /stuff/here post blah -->
        HTML
    end

    easy_test
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-1.4 spec/components/path_extractors/comments_spec.rb
arachni-1.3.2 spec/components/path_extractors/comments_spec.rb
arachni-1.3.1 spec/components/path_extractors/comments_spec.rb
arachni-1.3 spec/components/path_extractors/comments_spec.rb