It\'s my understanding that Rails\' testing environment is torn down and rebuilt before each test...so how do I test a controller that requires that a user be logged in and
for latest FactoryGirl version:
FactoryGirl.define do factory :confirmed_user, :parent => :user do after(:create) { |user| user.confirm! } end end