Portfolio Work And Blogs In Rspec

Custom Routes with Shoulda

I’ve recently been using Shoulda as my testing framework of choice to speed up my Rspec test writing. One common pattern kept recurring which was totally vexing: I wasn’t able to test my custom routes. Just recently, I was writing a reviews controller that is mostly controlled by an admin user of the site. It’s [...]