Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Subscribe
Tagged

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

  • Manu S Ajith
Manu S Ajith Oct 7, 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, in our rails application,

  • Manu S Ajith
Manu S Ajith Apr 25, 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

  • Manu S Ajith
Manu S Ajith Oct 21, 2015 • 3 min read
Today I learned © 2022
Powered by Ghost