mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
parent
93f8396b4b
commit
6792d7f50c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user