mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
improve spec
This commit is contained in:
parent
ecac786f86
commit
0ceca601d8
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ describe Search do
|
|||
|
||||
it 'can parse complex strings using ts_query helper' do
|
||||
str = " grigio:babel deprecated? "
|
||||
str << "page page on Atmosphere](https://atmospherejs.com/grigio/babel)xxx:"
|
||||
str << "page page on Atmosphere](https://atmospherejs.com/grigio/babel)xxx: aaa'\"bbb"
|
||||
|
||||
ts_query = Search.ts_query(str, "simple")
|
||||
Post.exec_sql("SELECT to_tsvector('bbb') @@ " << ts_query)
|
||||
|
|
Loading…
Reference in a new issue