This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/db/seeds.rb

9 lines
254 B
Ruby
Raw Normal View History

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
Dir["#{Rails.root}/vendor/built_in_modules/*/db/seeds.rb"].each { |seed| load seed }