From b5d1b7f8179fd5a4d557a35b457e834c42a6e0a3 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 17 Dec 2025 12:47:57 +0000 Subject: [PATCH] Automatically generate factories instead of fixtures From the factory_bot_rails README: > Including factory_bot_rails in the development group of your Gemfile > will cause Rails to generate factories instead of fixtures. This is helpful for any developers running "rails generate model {modelname}". --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 4290a85ab..e5a316350 100644 --- a/Gemfile +++ b/Gemfile @@ -171,7 +171,6 @@ group :test do gem "brakeman" gem "capybara", ">= 2.15" gem "erb_lint", :require => false - gem "factory_bot_rails" gem "jwt" gem "minitest" gem "minitest-focus", :require => false @@ -192,6 +191,7 @@ end group :development, :test do gem "annotaterb" + gem "factory_bot_rails" gem "rackup" gem "teaspoon" gem "teaspoon-mocha", "~> 2.3.3" -- 2.39.5