Rspec controller test with Devise: sign in and sign up

Thomas Van Holder
ITNEXT
Published in
May 27, 2021

--

Gem’s needed

  • gem ‘rspec-rails’
  • gem ‘factory_bot_rails’
  • gem ‘faker’

Setup factory bot

Start by creating a factory_bot support helper

--

--