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