I'm a Baltimore-based web developer and entrepreneur. I'm the Chief Technology Officer of STAQ. I'm dedicated to making great software.
Thursday, January 24, 2013
Rspec matchers for Sidekiq
I've been writing a lot of specs lately to make sure my code properly enqueues Sidekiq jobs. I ended up duplicating a lot of code, and after reading the Rspec custom matcher documentation, I decided to DRY up the tests using some of my own matchers. The code is here in my "power tools" gem. Enjoy!