Sha256: 1477366268f34df6f886279bbcc50be0c044cee0b23b7d280080478a885d5d05

Contents?: true

Size: 223 Bytes

Versions: 34

Compression:

Stored size: 223 Bytes

Contents

def require_lib( path )
    require Cuboid::Options.paths.lib + path
end

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

Version data entries

34 entries across 34 versions & 1 rubygems

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