Improve assertion
This commit is contained in:
parent
2ab4049508
commit
b735d9e6e1
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ test "when updated_at is after poll closing" do
|
|||
assert_enqueued(args: expected_job_args)
|
||||
|
||||
[job] = all_enqueued(worker: PollWorker)
|
||||
assert {:cancel, :poll_finalized} = PollWorker.perform(job)
|
||||
assert {:cancel, :poll_finalized} == PollWorker.perform(job)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue