@ -114,7 +114,11 @@ describe Queries::Notifications::NotificationQuery, type: :model do
describe'#results'do
it'is the same as handwriting the query'do
expected="SELECT \"notifications\".* FROM \"notifications\" WHERE \"notifications\".\"recipient_id\" = #{recipient.id} ORDER BY \"notifications\".\"read_ian\" DESC, \"notifications\".\"id\" DESC"
@ -128,7 +132,11 @@ describe Queries::Notifications::NotificationQuery, type: :model do
describe'#results'do
it'is the same as handwriting the query'do
expected="SELECT \"notifications\".* FROM \"notifications\" WHERE \"notifications\".\"recipient_id\" = #{recipient.id} ORDER BY \"reason\" DESC, \"notifications\".\"id\" DESC"