Sha256: 4addf463c85c501074eda1c278a9f5806ef64146253f25f720e5e042a64cefa1

Contents?: true

Size: 609 Bytes

Versions: 7

Compression:

Stored size: 609 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 name_from_filename
    File.basename( caller.first.split( ':' ).first, '_spec.rb' )
end

def spec_path
    File.expand_path( File.dirname( File.absolute_path( __FILE__ )  ) + '/../../' ) + '/'
end

def support_path
    "#{spec_path}support/"
end

def fixtures_path
    "#{support_path}fixtures/"
end

Version data entries

7 entries across 7 versions & 1 rubygems

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