mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Fix tests for UseCase::Question::CreateFollowers
This commit is contained in:
parent
050d7d5b56
commit
7f6f852841
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@ describe UseCase::Question::CreateFollowers do
|
|||
let(:author_identifier) { nil }
|
||||
|
||||
it "creates question" do
|
||||
expect(subject[:question]).to be_persisted
|
||||
expect(subject[:resource]).to be_persisted
|
||||
end
|
||||
|
||||
it "enqueues a QuestionWorker job" do
|
||||
expect(QuestionWorker).to have_enqueued_sidekiq_job(source_user.id, subject[:question].id)
|
||||
expect(QuestionWorker).to have_enqueued_sidekiq_job(source_user.id, subject[:resource].id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue