mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add changes to demographic loader so it the tests don't fail when run in parallel
This commit is contained in:
parent
620e8f5b01
commit
4626d43e3e
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ class DemographicLoader
|
|||
designation = row['Sex/Gender']
|
||||
return unless qualtrics_code && designation
|
||||
|
||||
Gender.find_or_create_by!(qualtrics_code:, designation:)
|
||||
gender = Gender.find_or_create_by!(qualtrics_code:, designation:)
|
||||
gender.save
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue