From d1068d8e685c67577babef04972e8aae99792a52 Mon Sep 17 00:00:00 2001
From: Jesus Federico <jesus@123it.ca>
Date: Tue, 21 Nov 2023 14:52:17 -0500
Subject: [PATCH] [Snyk] Security upgrade factory_bot_rails from 6.2.0 to 6.3.0
 (#5532)

* fix: Gemfile & Gemfile.lock to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917

* Update Gemfile.lock

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
---
 Gemfile      | 2 +-
 Gemfile.lock | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Gemfile b/Gemfile
index 63b09347..19a70c9c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -48,7 +48,7 @@ end
 
 group :test do
   gem 'capybara'
-  gem 'factory_bot_rails'
+  gem 'factory_bot_rails', '>= 6.3.0'
   gem 'faker'
   gem 'rspec-rails', '>= 6.0.4'
   gem 'selenium-webdriver'
diff --git a/Gemfile.lock b/Gemfile.lock
index 030349bb..e966754b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -158,10 +158,10 @@ GEM
     drb (2.2.0)
       ruby2_keywords
     erubi (1.12.0)
-    factory_bot (6.2.1)
+    factory_bot (6.4.0)
       activesupport (>= 5.0.0)
-    factory_bot_rails (6.2.0)
-      factory_bot (~> 6.2.0)
+    factory_bot_rails (6.4.0)
+      factory_bot (~> 6.4)
       railties (>= 5.0.0)
     faker (3.1.1)
       i18n (>= 1.8.11, < 2)
@@ -505,7 +505,7 @@ DEPENDENCIES
   data_migrate (>= 9.2.0)
   debug
   dotenv-rails
-  factory_bot_rails
+  factory_bot_rails (>= 6.3.0)
   faker
   google-cloud-storage (~> 1.44)
   hcaptcha
-- 
GitLab