diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-04-13 16:43:13 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-04-13 16:43:13 +0100 |
commit | 2299bfdf71f9e787d083920ddaf90b048641517a (patch) | |
tree | e33b1cf3cacf4ba2225c9c9135de4b4aa828e598 /spec/integration | |
parent | c51ee5f22a23a6475ffd921bcd9bcfe330c9a20c (diff) | |
parent | c4e296753ff8c55385680601ae9aa51539351c5e (diff) |
Merge branch 'fix-xapian-spec-failures' into rails-3-develop
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/xapian_search_highlighting_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/integration/xapian_search_highlighting_spec.rb b/spec/integration/xapian_search_highlighting_spec.rb index 65a34cf91..b2994eb31 100644 --- a/spec/integration/xapian_search_highlighting_spec.rb +++ b/spec/integration/xapian_search_highlighting_spec.rb @@ -3,6 +3,10 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe 'highlighting search results' do include HighlightHelper + before do + get_fixtures_xapian_index + end + it 'ignores stopwords' do phrase = 'department of humpadinking' search = ActsAsXapian::Search.new([PublicBody], phrase, :limit => 1) |