mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:37:55 +08:00
Fix the build.
Follow-up to 93f8396b4b7cf23399c6b62e7feb51c91bf9814d.
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user