Sha256: 0e8c893e75dec4a4622a28383f03251fdd729ccc9346e9b639711c81b29527c9
Contents?: true
Size: 847 Bytes
Versions: 4
Compression:
Stored size: 847 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/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 & 1 rubygems