Sha256: b47e04b4b4b49df5801b047c92ce9813791467fe56e736f278c0758c9081edd7
Contents?: true
Size: 332 Bytes
Versions: 6
Compression:
Stored size: 332 Bytes
Contents
require 'factory_girl' require 'rails' module FactoryGirl class Railtie < Rails::Railtie config.after_initialize do FactoryGirl.definition_file_paths = [ File.join(Rails.root, 'test', 'factories'), File.join(Rails.root, 'spec', 'factories') ] FactoryGirl.find_definitions end end end
Version data entries
6 entries across 6 versions & 1 rubygems