workaround: pg app installs a poorly encoded db, so skip CI will catch

This commit is contained in:
Sam Saffron 2015-04-24 07:22:46 +10:00
parent ae028a5bb1
commit 923c164d54
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,6 @@ describe Search do
# stop words should work
results = Search.execute('this', search_context: post1.topic)
results.posts.length.should == 4
end
end
@ -361,6 +360,8 @@ describe Search do
end
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'
topic = Fabricate(:topic, title: 'My Title Discourse社區指南')
post = Fabricate(:post, topic: topic)