A collection of 3 posts
Testing carrierwave file uploads with RSpec and FactoryGirl.
TLDR; In this blog post, I am gonna focus only on testing carrierwave. So if you are looking for instruction on installing/setting up carrierwave in your project I would suggest you looking at the carrierwave's wiki over here [https://github.com/carrierwaveuploader/carrierwave/wiki]. So let's assume we have
Pundit for authorization with Rspec Rails
Authorization is one of the important feature of any web app. With rails you can leverage the power of all those wonderful open source gems that are available to you or you can code your own authorization module. The most commonly used gems for authorization are Pundit [http://github.com/