Commit f0339b4d12e3de29c0a9c97205226e24a5617efb

Authored by Andrew Kane
1 parent 9ac1c8a9

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 73 field :name
74 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 77 end
... ...