diff --git a/Gemfile b/Gemfile
index 63b09347cc0219c231ce2e6a740c1663f03a02e5..19a70c9c3af72f8514e6f8599a900ec5703366ab 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 030349bbfcf85d5cb9cd7ddb55d4a18be8ac143d..e966754b95345622e6008ab8f5040849302b2298 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