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

batch "stub" is not working #19

Closed
noiseunion opened this issue Sep 10, 2013 · 2 comments
Closed

batch "stub" is not working #19

noiseunion opened this issue Sep 10, 2013 · 2 comments

Comments

@noiseunion
Copy link

Once I upped to Sidekiq Pro, the rspec-sidekiq gem started borking all of my tests with the following error:

Failure/Error: Unable to find matching line from backtrace
NoMethodError:
undefined method `stub' for Sidekiq::Batch:Class

Not sure what the issue is, I will see if I can figure it out, but any help would def be appreciated.

@noiseunion
Copy link
Author

it looks like the issue is that I am using Mocha for my mocking, which uses 'stubs' instead of 'stub'. I am going to fork and see if I can give it a little fixin'. :)

@noiseunion
Copy link
Author

I've submitted a pull request that is fixing things for me.

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