module Fixtory
Constants
- VERSION
Public Class Methods
identity_map()
click to toggle source
# File lib/fixtory.rb, line 24 def self.identity_map @identity_map ||= {} end
path()
click to toggle source
# File lib/fixtory.rb, line 4 def self.path unless @path if File.exist?('test/fixtories') @path = 'test/fixtories' elsif File.exist?('spec/fixtories') @path = 'spec/fixtories' end end @path end
path=(path)
click to toggle source
# File lib/fixtory.rb, line 16 def self.path=(path) @path = path end
path_for(group_name)
click to toggle source
# File lib/fixtory.rb, line 20 def self.path_for(group_name) File.join(path, "#{group_name}.rb") end