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