workaround: pg app installs a poorly encoded db, so skip CI will catch
This commit is contained in:
parent
ae028a5bb1
commit
923c164d54
|
@ -190,7 +190,6 @@ describe Search do
|
||||||
# stop words should work
|
# stop words should work
|
||||||
results = Search.execute('this', search_context: post1.topic)
|
results = Search.execute('this', search_context: post1.topic)
|
||||||
results.posts.length.should == 4
|
results.posts.length.should == 4
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -361,6 +360,8 @@ describe Search do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'finds chinese topic based on title' do
|
it 'finds chinese topic based on title' do
|
||||||
|
skip("skipped until pg app installs the db correctly") if RbConfig::CONFIG["arch"] =~ /darwin/
|
||||||
|
|
||||||
SiteSetting.default_locale = 'zh_TW'
|
SiteSetting.default_locale = 'zh_TW'
|
||||||
topic = Fabricate(:topic, title: 'My Title Discourse社區指南')
|
topic = Fabricate(:topic, title: 'My Title Discourse社區指南')
|
||||||
post = Fabricate(:post, topic: topic)
|
post = Fabricate(:post, topic: topic)
|
||||||
|
|
Loading…
Reference in New Issue