]> git.openstreetmap.org Git - rails.git/commitdiff
Enable verification of foreign keys in tests
authorTom Hughes <tom@compton.nu>
Mon, 21 Feb 2022 18:40:30 +0000 (18:40 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 21 Feb 2022 19:11:58 +0000 (19:11 +0000)
config/initializers/new_framework_defaults_7_0.rb

index ccf2fcd11809e8afb1a07da39f6707d96f8840a0..e7aff2cfe6adb381b2403ef2c6cfcb61e426ba53 100644 (file)
@@ -65,7 +65,7 @@ Rails.application.config.active_storage.video_preview_arguments =
 # Rails.application.config.active_record.automatic_scope_inversing = true
 
 # Raise when running tests if fixtures contained foreign key violations
-Rails.application.config.active_record.verify_foreign_keys_for_fixtures = true
+Rails.application.config.active_record.verify_foreign_keys_for_fixtures = true
 
 # Disable partial inserts.
 # This default means that all columns will be referenced in INSERT queries