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

@ -31,7 +31,8 @@ describe UseCase::DataExport::User, :data_export do
description: "A small raccoon",
location: "Binland",
motivation_header: "",
website: "https://retrospring.net"
website: "https://retrospring.net",
allow_long_questions: true
}
}
end
@ -94,7 +95,8 @@ describe UseCase::DataExport::User, :data_export do
motivation_header: "",
created_at: user.profile.created_at.as_json,
updated_at: user.profile.updated_at.as_json,
anon_display_name: nil
anon_display_name: nil,
allow_long_questions: true,
},
roles: {
administrator: false,