Sha256: a82e14b52de7c6305af59659b428e6cd3a5a589b7c11217acbe2812810d6568f

Contents?: true

Size: 616 Bytes

Versions: 11

Compression:

Stored size: 616 Bytes

Contents

shared_examples_for 'framework' do

    before( :all ) do
        @url   = web_server_url_for( :auditor )
        @f_url = web_server_url_for( :framework )

        @options = Arachni::Options.instance
    end

    before( :each ) do
        reset_options
        @options.paths.reporters = fixtures_path + '/reporters/manager_spec/'
        @options.paths.checks    = fixtures_path + '/signature_check/'

        @f = Arachni::Framework.new
        @f.options.url = @url
    end
    after( :each ) do
        File.delete( @snapshot ) rescue nil

        @f.clean_up
        @f.reset
    end

    subject { @f }
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/shared/framework.rb
arachni-1.6.1.2 spec/support/shared/framework.rb
arachni-1.6.1.1 spec/support/shared/framework.rb
arachni-1.6.1 spec/support/shared/framework.rb
arachni-1.6.0 spec/support/shared/framework.rb
arachni-1.5.1 spec/support/shared/framework.rb
arachni-1.5 spec/support/shared/framework.rb
arachni-1.4 spec/support/shared/framework.rb
arachni-1.3.2 spec/support/shared/framework.rb
arachni-1.3.1 spec/support/shared/framework.rb
arachni-1.3 spec/support/shared/framework.rb