Sha256: 80f6dfdeb33245dbee90e5829eb574d0cd4bab901e74abd9fed65b619cf2e02c

Contents?: true

Size: 286 Bytes

Versions: 19

Compression:

Stored size: 286 Bytes

Contents

if caller_line = caller.grep(%r!spec/ramaze/!).first
  caller_file = caller_line.split(':', 2).first
  caller_root = File.dirname(caller_file)
  $0 = caller_file
end

require File.expand_path('../../lib/ramaze/spec/bacon', __FILE__)

Ramaze.options.roots = [caller_root] if caller_root

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
Pistos-ramaze-2009.06.12 spec/helper.rb
manveru-ramaze-2009.06.04 spec/helper.rb
manveru-ramaze-2009.06.12 spec/helper.rb
manveru-ramaze-2009.06 spec/helper.rb
manveru-ramaze-2009.07 spec/helper.rb
rjspotter-ramaze-2009.06.29 spec/helper.rb
rjspotter-ramaze-2009.06.31 spec/helper.rb
ramaze-2011.01.30 spec/helper.rb
ramaze-2011.01 spec/helper.rb
ramaze-2010.06.18 spec/helper.rb
ramaze-2010.04.04 spec/helper.rb
ramaze-2010.04 spec/helper.rb
ramaze-2010.03 spec/helper.rb
ramaze-2010.01 spec/helper.rb
ramaze-2009.10 spec/helper.rb
ramaze-2009.07 spec/helper.rb
ramaze-2009.06 spec/helper.rb
ramaze-2009.06.12 spec/helper.rb
ramaze-2009.06.04 spec/helper.rb