Sha256: 77c06ca4ee5e1aee48ef1961d8503dc7bc0783b32f7669b66f78bc5b8266139d
Contents?: true
Size: 900 Bytes
Versions: 4
Compression:
Stored size: 900 Bytes
Contents
require 'test/unit' require 'rubygems' if ENV['RAILS_VERSION'] puts "loading Rails version #{ENV['RAILS_VERSION']}" gem "activesupport", "= #{ENV['RAILS_VERSION']}" gem "activerecord", "= #{ENV['RAILS_VERSION']}" end require 'active_support' require 'active_record' require 'active_record/fixtures' require 'factory_data_preloader/core_ext' require 'factory_data_preloader/preloader' require 'factory_data_preloader/preloader_collection' require 'factory_data_preloader/preloaded_data_hash' require 'factory_data_preloader/factory_data' require 'factory_data_preloader/rails_core_ext' if defined? Rails.configuration Rails.configuration.after_initialize do FactoryData.definition_file_paths = [ File.join(RAILS_ROOT, 'test', 'factory_data'), File.join(RAILS_ROOT, 'spec', 'factory_data') ] FactoryData.find_definitions end else FactoryData.find_definitions end
Version data entries
4 entries across 4 versions & 2 rubygems