Sha256: a55d8bf2f0020c7b200b69071772affb627bfb99784ac650eabd75058e442481

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

module Ginst::Test
  class << self
    attr_accessor :ginst_gem_dir
  end
  @ginst_gem_dir = File.expand_path(File.join(File.dirname(__FILE__),['..','..','..']))

  
    
  private
  
  def fixture_path(fixture_name)
    file = File.join(Ginst::Test.ginst_gem_dir,%w(spec fixtures) << fixture_name)
    file if File.file?(file) or raise "Not found fixture in #{file}"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ginst-0.2.2 lib/ginst/test/base.rb