Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Before do
- require 'factory_girl'
- Dir.glob(File.join(File.dirname(__FILE__), '../../spec/factories/*.rb')).each {|f| require f }
- Factory.factories.keys.each {|factory| Factory(factory) }
- end
Add Comment
Please, Sign In to add comment