spec/support/document.rb in mongoid-time_range-0.0.1 vs spec/support/document.rb in mongoid-time_range-0.1.0
- old
+ new
@@ -1,9 +1,5 @@
class Document
include Mongoid::Document
-end
-
-class Localized
- include Mongoid::Document
-
+ field :range, type: Mongoid::TimeRange
end