diff --git a/test/support/mongoid.rb b/test/support/mongoid.rb index d8b3cf6..aa1b2fd 100644 --- a/test/support/mongoid.rb +++ b/test/support/mongoid.rb @@ -73,5 +73,5 @@ class Band field :name field :active, type: Mongoid::Boolean - default_scope -> { where(active: true).order(:name) } + default_scope -> { where(active: true).order(name: 1) } end -- libgit2 0.21.0