Today I learned
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
  • About
Sign in Subscribe

rspec

A collection of 3 posts
rspec

Fixing Rspec tests involving timestamps on CircleCI.

Use TimeCop gem or rspec be_within built in matcher to fix specs involving timestamps in CircleCI
07 Oct 2018 1 min read
rails

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. So let's assume we have everything setup,
25 Apr 2016 2 min read
ruby

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 and Cancan (now
21 Oct 2015 3 min read
Page 1 of 1
Today I learned © 2025
Powered by Ghost