Sha256: e8485ec23cff2e5f5e1debd61ec8d6dc3266fd07f003e9abfefc3c35b867cdc5

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 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

module Ramaze
  BINPATH = __DIR__('../bin/ramaze')
  BIN_APP = __DIR__('ramaze/bin/app')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ramaze-2023.01.06 spec/helper.rb
ramaze-2012.12.08 spec/helper.rb
ramaze-2012.12.08b spec/helper.rb