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
If you are using factory_girl to generate your models, you can use after_create to confirm each new user.
after_create
Factory.define :confirmed_user, :parent => :user do |f| f.after_create { |user| user.confirm! } end