Sha256: c64279428fe011ce29fbdb1768395e0cf9570792bce4f9e67c116e6844f3b9f0

Contents?: true

Size: 297 Bytes

Versions: 18

Compression:

Stored size: 297 Bytes

Contents

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

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

Innate.options.roots = [caller_root] if caller_root

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
innate-2023.01.06 spec/helper.rb
innate-2015.10.28 spec/helper.rb
manveru-innate-2009.07 spec/helper.rb
innate-2013.02.21 spec/helper.rb
innate-2013.02 spec/helper.rb
innate-2012.12 spec/helper.rb
innate-2012.03 spec/helper.rb
innate-2011.12 spec/helper.rb
innate-2011.10 spec/helper.rb
innate-2011.04 spec/helper.rb
innate-2011.01 spec/helper.rb
innate-2010.07 spec/helper.rb
innate-2010.06.18 spec/helper.rb
innate-2010.04 spec/helper.rb
innate-2010.03 spec/helper.rb
innate-2010.01 spec/helper.rb
innate-2009.10 spec/helper.rb
innate-2009.07 spec/helper.rb