Sha256: fde6acfb04a33a050f841a5ed66846a26a759fbb05977f963ad9ecd8a6f029df

Contents?: true

Size: 536 Bytes

Versions: 7

Compression:

Stored size: 536 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> -->

            <div>Blah blah...</div>

            <!--Pre blah /stuff/here post blah -->
        HTML
    end

    easy_test
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/path_extractors/comments_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/comments_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/comments_spec.rb
arachni-1.6.1 spec/components/path_extractors/comments_spec.rb
arachni-1.6.0 spec/components/path_extractors/comments_spec.rb
arachni-1.5.1 spec/components/path_extractors/comments_spec.rb
arachni-1.5 spec/components/path_extractors/comments_spec.rb