Sha256: 35f43732a39938a70035be36dcfd50923a9944e6576dc66422ce85b0c84b2eb8

Contents?: true

Size: 531 Bytes

Versions: 6

Compression:

Stored size: 531 Bytes

Contents

=begin
    Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

def require_lib( path )
    require Arachni::Options.paths.lib + path
end

def require_testee
    require Kernel.caller.first.split( ':' ).first.
                gsub( '/spec/arachni', '/lib/arachni' ).gsub( '_spec', '' )
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/support/helpers/requires.rb
arachni-1.3.1 spec/support/helpers/requires.rb
arachni-1.3 spec/support/helpers/requires.rb
arachni-1.2.1 spec/support/helpers/requires.rb
arachni-1.2 spec/support/helpers/requires.rb
arachni-1.1 spec/support/helpers/requires.rb