From 75bbf83dc0891bbde7e62d74604930084a87cd82 Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Wed, 22 Nov 2023 11:40:07 +0100 Subject: [PATCH] Avoid broken versions of factory_bot_rails See https://github.com/thoughtbot/factory_bot_rails/issues/431. --- Gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b2856d6deed..4f6937d71f5 100644 --- a/Gemfile +++ b/Gemfile @@ -38,7 +38,8 @@ gem 'rspec_junit_formatter', require: false gem 'yard', require: false # Ensure the requirement is also updated in core/lib/spree/testing_support/factory_bot.rb -gem 'factory_bot_rails', '>= 4.8', require: false +# TODO: remove the "< 6.3" requirement once https://github.com/thoughtbot/factory_bot_rails/issues/431 is fixed. +gem 'factory_bot_rails', ['>= 4.8', '< 6.3'], require: false group :backend do gem 'capybara', '~> 3.13', require: false