Fix the build.

Follow-up to 93f8396b4b7cf23399c6b62e7feb51c91bf9814d.
This commit is contained in:
Guo Xiang Tan
2020-08-12 15:55:22 +08:00
parent 93f8396b4b
commit 6792d7f50c

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)