Setup and test Rails 6.0 with RSpec, FactoryBot, and Devise

RSpec is a great tool to test your code and helps prevent bugs during development. It’s especially helpful after returning to a codebase that you’re not as familiar with anymore, or after a large refactoring where lots of pieces are being moved around. It’s a little more work up front, but the peace of mind it can provide is well worth it.In this guide, I’ll walk you though how to setup RSpec with FactoryBot (formerly known as FactoryGirl) and make everything play nicely with Devise.
Setup and test Rails 6.0 with RSpec, FactoryBot, and Devise #ruby #rubydeveloper #rubyonrails #devise #rspec, #test https://rubyonrails.ba/single/setup-and-test-rails-6-0-with-rspec-factorybot-and-devise

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles