defunkt/resque — pull request #889 by tarcieri (2013-03-21 23:49:52+00:00)
Title: Fix bad logic on standard Redis failed queue adapter

There were some checks for the queue name in this adapter, in place to
provide a similar API to the multi-queue backend, but with assertions
that we were operating on the right queue.

Problem is: the logic was backwards! D'oh!

This centralizes the check in a method with the correct logic.