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

View file

@ -31,7 +31,8 @@ describe UseCase::DataExport::User, :data_export do
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
@ -94,7 +95,8 @@ describe UseCase::DataExport::User, :data_export do
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,