leshill/resque_spec — pull request #37 by andreacfm (2011-12-24 15:50:10+00:00)
Title: #36

Please consider this request as starting point.
What I find usefull is that ResqueSpec should mimic more than possible the production environment. While I can test what I have enqueued:

Model.should have_queued(instance.id)

resque spec does not store data as redis would do. Any data is encoded in JSON when Resque uses Redis so I guess Resque Spec should to the same.
This change would resolve the case posted in issue #36.
Please note that this change also breaks many tests.