test/helper.rb in mongoid-haystack-1.0.0 vs test/helper.rb in mongoid-haystack-1.1.0

- old
+ new

@@ -5,24 +5,37 @@ require_relative 'testing' require_relative '../lib/mongoid-haystack.rb' Mongoid::Haystack.connect! +Mongoid::Haystack.reset! class A include Mongoid::Document field(:content, :type => String) def to_s; content; end + + field(:a) + field(:b) + field(:c) end class B include Mongoid::Document field(:content, :type => String) def to_s; content; end + + field(:a) + field(:b) + field(:c) end class C include Mongoid::Document field(:content, :type => String) def to_s; content; end + + field(:a) + field(:b) + field(:c) end