Sha256: 992355464d515c5a8bf9e8b0daf633aeafb9c3f3a34d2614158409fc9d137065

Contents?: true

Size: 379 Bytes

Versions: 11

Compression:

Stored size: 379 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    before( :all ) do
        options.url = url
    end

    it 'audits only the page at the specific DOM state' do
        options.plugins[component_name] = { 'fragment' => 'stuff/blah' }

        run
        expect(framework.sitemap).to eq({ "#{options.url}#stuff/blah" => 200 })
    end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.6.1.2 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.6.1.1 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.6.1 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.6.0 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.5.1 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.5 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.4 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.3.2 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.3.1 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.3 spec/components/plugins/restrict_to_dom_state_spec.rb