Closed
Description
What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.3.3
Rails version: 7.1.4.2
RSpec version: 3.13
Observed behavior
I use Mocha for mocks with RSpec. In my spec_helper.rb file, I have
RSpec.configure do |config|
config.mock_with :mocha
end
Using rspec-rails 7.1.0, whenever I run a spec that uses have_enqueued_job
, I get the following error:
NoMethodError:
undefined method `configuration' for module RSpec::Mocks
This was introduced in 2f519d4. The issue is not present in rspec-rails 7.0.2.
Metadata
Metadata
Assignees
Labels
No labels