Commit f0339b4d12e3de29c0a9c97205226e24a5617efb
1 parent
9ac1c8a9
Exists in
master
and in
2 other branches
Fixed Mongoid test [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/support/mongoid.rb
@@ -73,5 +73,5 @@ class Band | @@ -73,5 +73,5 @@ class Band | ||
73 | field :name | 73 | field :name |
74 | field :active, type: Mongoid::Boolean | 74 | field :active, type: Mongoid::Boolean |
75 | 75 | ||
76 | - default_scope -> { where(active: true).order(:name) } | 76 | + default_scope -> { where(active: true).order(name: 1) } |
77 | end | 77 | end |