diff --git a/Gemfile b/Gemfile index 6691765ae..ce9f9495c 100644 --- a/Gemfile +++ b/Gemfile @@ -64,7 +64,8 @@ group :development, :test do gem "simplecov", require: false # Generate test objects. - gem "factory_bot_rails" + # 6.3.0 and 6.4.0 have a bug https://github.com/thoughtbot/factory_bot_rails/issues/433 + gem "factory_bot_rails", "~> 6.2", "!= 6.3.0", "!= 6.4.0" end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 2201c9930..8c27605f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -666,7 +666,7 @@ DEPENDENCIES debug devise devise-two-factor - factory_bot_rails + factory_bot_rails (~> 6.2, != 6.4.0, != 6.3.0) foreman honeybadger jbuilder