Update user exporter spec to include `allow_long_questions` field

This commit is contained in:
Karina Kwiatek 2023-01-08 14:00:16 +01:00
parent ba7b19faee
commit e2f6284982
1 changed files with 15 additions and 13 deletions

View File

@ -27,11 +27,12 @@ describe UseCase::DataExport::User, :data_export do
sign_in_count: 10, sign_in_count: 10,
smiled_count: 28, smiled_count: 28,
profile: { profile: {
display_name: "Fizzy Raccoon", display_name: "Fizzy Raccoon",
description: "A small raccoon", description: "A small raccoon",
location: "Binland", location: "Binland",
motivation_header: "", motivation_header: "",
website: "https://retrospring.net" website: "https://retrospring.net",
allow_long_questions: true
} }
} }
end end
@ -87,14 +88,15 @@ describe UseCase::DataExport::User, :data_export do
privacy_noindex: false privacy_noindex: false
}, },
profile: { profile: {
display_name: "Fizzy Raccoon", display_name: "Fizzy Raccoon",
description: "A small raccoon", description: "A small raccoon",
location: "Binland", location: "Binland",
website: "https://retrospring.net", website: "https://retrospring.net",
motivation_header: "", motivation_header: "",
created_at: user.profile.created_at.as_json, created_at: user.profile.created_at.as_json,
updated_at: user.profile.updated_at.as_json, updated_at: user.profile.updated_at.as_json,
anon_display_name: nil anon_display_name: nil,
allow_long_questions: true,
}, },
roles: { roles: {
administrator: false, administrator: false,