-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
This pull request can fix the issue MONGOID-1783.
When you do a criteria with dot notation on a embedded document, you get an array of result. Before this commit. You can't manage this array in Gt/Gte/Lt/Lte matcher.
I change spec in gte_spec.rb to use described_class instead of Mongoid::Matcher::Gte like other spec in matcher.
I fix spec to use $gte instead of $gt in gt_spec.rb