quirkey/resque-status

Mocking resque-status for RSpec

Closed this issue · 3 comments

For now I'm going to fork resque_spec to see if I can hack something together, but it would be useful if resque-status came with some testing facilities.

Maybe something like this?

VideoJob.should have_queued_with_status(:queue_name)

Agreed. This would be very helpful.

Yeah, I never figured it out. I consider mocking/testing in rspec a necessity if I'm going to use this in newer apps.

I'm not an rspec user so I wouldn't know where to start for this and it's not a priority for me. Would take a pull request if someone wants to work on it.