improve spec
This commit is contained in:
parent
ecac786f86
commit
0ceca601d8
|
@ -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 New Issue