Skip to content

Commit

Permalink
Merge pull request #1983 from alphagov/dependabot/bundler/factory_bot…
Browse files Browse the repository at this point in the history
…_rails-6.4.2

Bump factory_bot_rails from 6.2.0 to 6.4.2
  • Loading branch information
robinjam authored Nov 28, 2023
2 parents de7c152 + d3bf1b0 commit ba2c717
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ GEM
drb (2.2.0)
ruby2_keywords
erubi (1.12.0)
factory_bot (6.2.0)
factory_bot (6.4.2)
activesupport (>= 5.0.0)
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
factory_bot_rails (6.4.2)
factory_bot (~> 6.4)
railties (>= 5.0.0)
faraday (2.7.10)
faraday-net_http (>= 2.0, < 3.1)
Expand Down
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ class Application < Rails::Application

# Support for inversing belongs_to -> has_many Active Record associations.
config.active_record.has_many_inversing = false

# See https://github.com/thoughtbot/factory_bot_rails#active-record-configuration
# Required because we define a sequence on Dimensions::Date#date, which is a primary key
config.factory_bot.reject_primary_key_attributes = false
end
end

0 comments on commit ba2c717

Please sign in to comment.