Skip to content

Instantly share code, notes, and snippets.

@rgo
Created December 13, 2010 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgo/739287 to your computer and use it in GitHub Desktop.
Save rgo/739287 to your computer and use it in GitHub Desktop.
Load factory_girl and faker in Cucumber
require 'factory_girl'
require 'faker'
Dir.glob(File.join(File.dirname(__FILE__), '../../spec/factories/*.rb')).each {|f| require f }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment