Sha256: e957c8c004e687069844a853cd573b7580fa5ac20483cf4b6ca0029ca29b8ef2

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
ramaze-2011.07.25 spec/helper.rb