Debug your factories
Make sure your console environment is test
RAILS_ENV=test rails c
once you start load your spec helper
require 'spec_helper'
then you should be able to play with your factories
user = FactoryGirl.create(:user)
have fun!
Written by Ramon Roche
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#