spec/fixtures/models.rb in mebla-1.0.2 vs spec/fixtures/models.rb in mebla-1.0.3
- old
+ new
@@ -41,9 +41,18 @@
class MongoidOmega < MongoidDelta
search_in :name
end
+class MongoidZeta
+ include Mongoid::Document
+ include Mongoid::Mebla
+ field :name
+ field :an_array, :type => Array
+
+ search_in :name, :an_array
+end
+
class MongoidGamma
include Mongoid::Document
include Mongoid::Mebla
field :name
field :value, :type => Integer
\ No newline at end of file