Appease the robot dog

This commit is contained in:
Karina Kwiatek 2022-11-12 12:39:41 +01:00
parent 0b67baa3c4
commit a8360dcad0
1 changed files with 3 additions and 3 deletions

View File

@ -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)
)