Commit 50741304 by jsa

remove use of ngettext in discussion jasmine test

parent 96bc5cc8
......@@ -146,11 +146,7 @@ describe "DiscussionThreadView", ->
expect(view.$(".js-response-list .discussion-response").length).toEqual(numNonEndorsed)
assertResponseCountAndPaginationCorrect(
view,
ngettext(
"#{numNonEndorsed} #{if numEndorsed then "other " else ""}response",
"#{numNonEndorsed} #{if numEndorsed then "other " else ""}responses",
numNonEndorsed
)
"#{numNonEndorsed} #{if numEndorsed then "other " else ""}#{if numNonEndorsed == 1 then "response" else "responses"}",
if numNonEndorsed then "Showing all responses" else null,
null
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment