mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:29:54 +01:00
Add test for question create UseCase checking if direct is set
This commit is contained in:
parent
83dbd5d2e3
commit
777b25f967
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ describe UseCase::Question::Create do
|
|||
expect(question.content).to eq(content)
|
||||
expect(question.author_is_anonymous).to eq(anonymous)
|
||||
expect(question.author_identifier).to eq(author_identifier)
|
||||
expect(question.direct).to eq(true)
|
||||
|
||||
if should_send_to_inbox
|
||||
expect(target_user.inboxes.first.question_id).to eq(question.id)
|
||||
|
|
Loading…
Reference in a new issue