2012-11-15 17:53:17 +00:00
|
|
|
require 'factory_girl'
|
2012-11-26 16:05:04 +00:00
|
|
|
require 'faker'
|
2012-11-26 03:52:11 +00:00
|
|
|
|
2013-01-17 07:57:12 +00:00
|
|
|
FactoryGirl.definition_file_paths = Dir["#{Rails.root}/vendor/built_in_modules/*/spec/factories"]
|
|
|
|
|
|
|
|
FactoryGirl.find_definitions
|
|
|
|
|
2013-02-26 07:52:20 +00:00
|
|
|
Dir["#{Rails.root}/vendor/built_in_modules/*/db/seeds.rb"].each { |seed| load seed }
|