Skip to content

Incompatible with spring #109

@dpmccabe

Description

@dpmccabe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions