Fix lint error
This commit is contained in:
parent
2327b2ce52
commit
b193ad229f
|
@ -23,7 +23,7 @@ describe QuestionWorker do
|
||||||
.to(
|
.to(
|
||||||
change { Inbox.where(user_id: follower_id, question_id:, new: true).count }
|
change { Inbox.where(user_id: follower_id, question_id:, new: true).count }
|
||||||
.from(0)
|
.from(0)
|
||||||
.to(1)
|
.to(1),
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ describe QuestionWorker do
|
||||||
subscription: {
|
subscription: {
|
||||||
endpoint: "This will not be used",
|
endpoint: "This will not be used",
|
||||||
keys: {},
|
keys: {},
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ describe QuestionWorker do
|
||||||
.to(
|
.to(
|
||||||
change { Rpush::Webpush::Notification.count }
|
change { Rpush::Webpush::Notification.count }
|
||||||
.from(0)
|
.from(0)
|
||||||
.to(1)
|
.to(1),
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -88,7 +88,7 @@ describe QuestionWorker do
|
||||||
.to(
|
.to(
|
||||||
change { Inbox.where(user_id: follower_id, question_id:, new: true).count }
|
change { Inbox.where(user_id: follower_id, question_id:, new: true).count }
|
||||||
.from(0)
|
.from(0)
|
||||||
.to(1)
|
.to(1),
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue