Skip to content

Commit

Permalink
Require active_support in pact helper
Browse files Browse the repository at this point in the history
As per rails/rails#52582, one must `require
active_support` before requiring any other definition(s) like
`active_support/core_ext/module/delegation`, which is included by
`factory_bot_rails`.

Therefore requiring `active_support` here, until
thoughtbot/factory_bot#1685 is resolved.
  • Loading branch information
brucebolt committed Aug 15, 2024
1 parent 78e6e09 commit 9603718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "active_support"
require "pact/provider/rspec"
require "webmock/rspec"
require "factory_bot_rails"
Expand Down

0 comments on commit 9603718

Please sign in to comment.