I am a computer programmer and racounteur entrepreneur based in Baltimore.
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!