I'm a Baltimore-based web developer and entrepreneur. I'm the co-founder of Staq, OtherInbox, and Ignite Baltimore. I blog about Ruby, startups, and 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!