Sha256: f6d194d5658a2207e8b554e43f4be6d8a64c4da70d0708480f9a035773e0a61f

Contents?: true

Size: 304 Bytes

Versions: 34

Compression:

Stored size: 304 Bytes

Contents

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

34 entries across 34 versions & 1 rubygems

Version Path
cuboid-0.2.13 spec/support/helpers/paths.rb
cuboid-0.2.12 spec/support/helpers/paths.rb
cuboid-0.2.11 spec/support/helpers/paths.rb
cuboid-0.2.10 spec/support/helpers/paths.rb
cuboid-0.2.9 spec/support/helpers/paths.rb
cuboid-0.2.8 spec/support/helpers/paths.rb
cuboid-0.2.7 spec/support/helpers/paths.rb
cuboid-0.2.6 spec/support/helpers/paths.rb
cuboid-0.2.5 spec/support/helpers/paths.rb
cuboid-0.2.4.2 spec/support/helpers/paths.rb
cuboid-0.2.4.1 spec/support/helpers/paths.rb
cuboid-0.2.4 spec/support/helpers/paths.rb
cuboid-0.2.3 spec/support/helpers/paths.rb
cuboid-0.2.2 spec/support/helpers/paths.rb
cuboid-0.2.1 spec/support/helpers/paths.rb
cuboid-0.2 spec/support/helpers/paths.rb
cuboid-0.1.9.1 spec/support/helpers/paths.rb
cuboid-0.1.9 spec/support/helpers/paths.rb
cuboid-0.1.8 spec/support/helpers/paths.rb
cuboid-0.1.7 spec/support/helpers/paths.rb