Sha256: 58c119307103380b668e3e7a63d2c14103aaa7ef9847ed489572fe610fe80d68

Contents?: true

Size: 227 Bytes

Versions: 5

Compression:

Stored size: 227 Bytes

Contents

def require_from_root( path )
    require Arachni::Options.instance.dir['lib'] + path
end


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/helpers/requires.rb
arachni-0.4.1.3 spec/helpers/requires.rb
arachni-0.4.1.2 spec/helpers/requires.rb
arachni-0.4.1.1 spec/helpers/requires.rb
arachni-0.4.1 spec/helpers/requires.rb