Sha256: e95ef2f70e5d647ba2b952d58c77a2a349433fb22aa7a4712620a909807fb3e9

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

=begin
    Copyright 2010-2017 Sarosys LLC <http://www.sarosys.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

2 entries across 2 versions & 1 rubygems

Version Path
arachni-1.5.1 spec/support/helpers/requires.rb
arachni-1.5 spec/support/helpers/requires.rb