Fix the build.

Follow-up to 93f8396b4b.
This commit is contained in:
Guo Xiang Tan 2020-08-12 15:55:22 +08:00
parent 93f8396b4b
commit 6792d7f50c
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -124,7 +124,7 @@ describe SearchController do
expect(data['posts'][1]['id']).to eq(awesome_post_2.id)
expect(data['posts'][1]['blurb']).to eq(
"this is my really <span class=\"#{Search::HIGHLIGHT_CSS_CLASS}\">awesome</span> post"
"#{Search::GroupedSearchResults::OMISSION}this is my really <span class=\"#{Search::HIGHLIGHT_CSS_CLASS}\">awesome</span> post#{Search::GroupedSearchResults::OMISSION}"
)
expect(data['topics'][1]['id']).to eq(awesome_post_2.topic_id)