We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
expect(Car.method :open).to be_delayed(car.id) raises TypeError: allocator undefined for Proc exception.
expect(Car.method :open).to be_delayed(car.id)
TypeError: allocator undefined for Proc
It happened with rspec-sidekiq 2.0.0 and upgrading to 2.2.0 hasn't resolved the issue.
The text was updated successfully, but these errors were encountered:
Backtrace:
# /rspec-sidekiq-2.2.0/lib/rspec/sidekiq/matchers/be_delayed.rb:61:in `block in find_job' # /rspec-sidekiq-2.2.0/lib/rspec/sidekiq/matchers/be_delayed.rb:60:in `each' # /rspec-sidekiq-2.2.0/lib/rspec/sidekiq/matchers/be_delayed.rb:60:in `find' # /rspec-sidekiq-2.2.0/lib/rspec/sidekiq/matchers/be_delayed.rb:60:in `find_job' # /rspec-sidekiq-2.2.0/lib/rspec/sidekiq/matchers/be_delayed.rb:34:in `matches?'
Sorry, something went wrong.
It happened because we passed AR objects as parameters to jobs
No branches or pull requests
expect(Car.method :open).to be_delayed(car.id)
raisesTypeError: allocator undefined for Proc
exception.It happened with rspec-sidekiq 2.0.0 and upgrading to 2.2.0 hasn't resolved the issue.
The text was updated successfully, but these errors were encountered: