mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-22 21:53:02 +01:00
Appease the robot dog
This commit is contained in:
parent
0b67baa3c4
commit
a8360dcad0
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ describe QuestionWorker do
|
||||||
it "places the question in the inbox of the user's followers" do
|
it "places the question in the inbox of the user's followers" do
|
||||||
expect { subject }
|
expect { subject }
|
||||||
.to(
|
.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)
|
.from(0)
|
||||||
.to(5)
|
.to(5)
|
||||||
)
|
)
|
||||||
|
@ -35,7 +35,7 @@ describe QuestionWorker do
|
||||||
|
|
||||||
expect { subject }
|
expect { subject }
|
||||||
.to(
|
.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)
|
.from(0)
|
||||||
.to(4)
|
.to(4)
|
||||||
)
|
)
|
||||||
|
@ -46,7 +46,7 @@ describe QuestionWorker do
|
||||||
|
|
||||||
expect { subject }
|
expect { subject }
|
||||||
.to(
|
.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)
|
.from(0)
|
||||||
.to(4)
|
.to(4)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue