From a8360dcad0d144df39441a18784e45a176a02d3b Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 12 Nov 2022 12:39:41 +0100 Subject: [PATCH] Appease the robot dog --- spec/workers/question_worker_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/workers/question_worker_spec.rb b/spec/workers/question_worker_spec.rb index c427058b..cafbc455 100644 --- a/spec/workers/question_worker_spec.rb +++ b/spec/workers/question_worker_spec.rb @@ -21,7 +21,7 @@ describe QuestionWorker do it "places the question in the inbox of the user's followers" do expect { subject } .to( - change { Inbox.where(user_id: user.followers.ids, question_id: question_id, new: true).count } + change { Inbox.where(user_id: user.followers.ids, question_id:, new: true).count } .from(0) .to(5) ) @@ -35,7 +35,7 @@ describe QuestionWorker do expect { subject } .to( - change { Inbox.where(user_id: user.followers.ids, question_id: question_id, new: true).count } + change { Inbox.where(user_id: user.followers.ids, question_id:, new: true).count } .from(0) .to(4) ) @@ -46,7 +46,7 @@ describe QuestionWorker do expect { subject } .to( - change { Inbox.where(user_id: user.followers.ids, question_id: question_id, new: true).count } + change { Inbox.where(user_id: user.followers.ids, question_id:, new: true).count } .from(0) .to(4) )