Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with spring #109

Open
dpmccabe opened this issue Feb 5, 2015 · 0 comments
Open

Incompatible with spring #109

dpmccabe opened this issue Feb 5, 2015 · 0 comments

Comments

@dpmccabe
Copy link

dpmccabe commented Feb 5, 2015

I run rspec with spring rspec and I have to restart spring every time in order to get jobs placed on queues, which obviously defeats the purpose of using spring.

I have a test that places an job on a queue and then checks that the queue size equals 1. This works fine when I run rspec and also the first time I run spring rspec. Every subsequent time I run spring rspec, the queue size is always 0 no matter how many jobs I place on it. There are no errors.

This happens whether I run ResqueSpec.reset! or not. It seems that when using spring, ResqueSpec is in some sort of unusable state when the test suite finishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant