diff --git a/spec/fabricators/person_data_quality_issue_fabricator.rb b/spec/fabricators/person_data_quality_issue_fabricator.rb index fe2077fe0..f7539b625 100644 --- a/spec/fabricators/person_data_quality_issue_fabricator.rb +++ b/spec/fabricators/person_data_quality_issue_fabricator.rb @@ -7,7 +7,7 @@ Fabricator(:person_data_quality_issue, class_name: "Person::DataQualityIssue") do person - attr { Person.column_names.sample } - key { "ist leer" } + attr { People::DataQualityChecker::ATTRIBUTES_TO_CHECK.sample } + key { "empty" } severity { Person::DataQualityIssue.severities.key(rand(1..3)) } end