spec/api/query/faceting_examples.rb in lisausa-sunspot-1.2.1 vs spec/api/query/faceting_examples.rb in lisausa-sunspot-1.2.1.1
- old
+ new
@@ -1,4 +1,6 @@
+require File.join(File.dirname(__FILE__), 'spec_helper')
+
shared_examples_for "facetable query" do
describe 'on fields' do
it 'does not turn faceting on if no facet requested' do
search
connection.should_not have_last_search_with('facet')