Testing Rails 6 with RSpec

I would like to share in the next items more about how to implement testing in a Rails 6 application, implementing RSpec and Capybara. Why has this become so important to me? Well, testing become important to me a little late to be honest. I created an application, filled it with bunch of stuff (which at that time I had no idea what was exactly doing) and then seeing it constantly fail on production. At this point I thought I was learning how to ride a bicycle without "safety" wheels on downhill trails. Let me put it this way, testing for me are my safety wheels which allow me to practice without getting injured, but I will keep riding the bike.

No Comments Yet