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 fabrication gem it is
Fabricator(:user) do after_build { |user| user.confirm! } end