Sha256: ac23af8808c9450df804660408478b4a84abe0e429b06276c812fff0dadef8a5

Contents?: true

Size: 312 Bytes

Versions: 30

Compression:

Stored size: 312 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| "<a href='#{u}'>Stuff</a>" }.join
    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/anchors_spec.rb
arachni-1.6.1.2 spec/components/path_extractors/anchors_spec.rb
arachni-1.6.1.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.6.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.6.0 spec/components/path_extractors/anchors_spec.rb
arachni-1.5.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.5 spec/components/path_extractors/anchors_spec.rb
arachni-1.4 spec/components/path_extractors/anchors_spec.rb
arachni-1.3.2 spec/components/path_extractors/anchors_spec.rb
arachni-1.3.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.3 spec/components/path_extractors/anchors_spec.rb
arachni-1.2.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.2 spec/components/path_extractors/anchors_spec.rb
arachni-1.1 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.6 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.5 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.4 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.3 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.2 spec/components/path_extractors/anchors_spec.rb
arachni-1.0.1 spec/components/path_extractors/anchors_spec.rb