Permalink
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (3 sloc) 117 Bytes
require 'factory_girl'
factories_file = Rails.root.join('spec', 'factories.rb')
eval(File.open(factories_file).read)