spec/lib/thinking_sphinx_spec.rb in moneypools-thinking-sphinx-1.2.13 vs spec/lib/thinking_sphinx_spec.rb in moneypools-thinking-sphinx-1.3.1

- old
+ new

@@ -91,9 +91,13 @@ :config => {:adapter => defined?(JRUBY_VERSION) ? 'jdbcmysql' : 'mysql'} ) ::ActiveRecord::Base.stub!( :connection => @connection ) + + ThinkingSphinx.module_eval do + class_variable_set :@@use_group_by_shortcut, nil + end end it "should return true if no ONLY_FULL_GROUP_BY" do @connection.stub!( :select_all => {:a => "OTHER SETTINGS"}