Sha256: e1e01d15d9c8d72e8a9e6bfd1ba11394891837bc6b918a02eca2266dcef7ac8f

Contents?: true

Size: 531 Bytes

Versions: 7

Compression:

Stored size: 531 Bytes

Contents

=begin
    Copyright 2010-2014 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

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/support/helpers/requires.rb
arachni-1.0.5 spec/support/helpers/requires.rb
arachni-1.0.4 spec/support/helpers/requires.rb
arachni-1.0.3 spec/support/helpers/requires.rb
arachni-1.0.2 spec/support/helpers/requires.rb
arachni-1.0.1 spec/support/helpers/requires.rb
arachni-1.0 spec/support/helpers/requires.rb