Sha256: 29069db0a154de33b9d3598fb4051d2c3a0acb1bda1665a5a4def9937200c317

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 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
        framework.sitemap.should == { "#{options.url}#stuff/blah" => 200 }
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arachni-1.2.1 spec/components/plugins/restrict_to_dom_state_spec.rb
arachni-1.2 spec/components/plugins/restrict_to_dom_state_spec.rb