spec/unit/associations_spec.rb in mongoid-rspec-1.8.1 vs spec/unit/associations_spec.rb in mongoid-rspec-1.8.2

- old
+ new

@@ -35,8 +35,8 @@ describe Permalink do it { should be_embedded_in(:linkable).as_inverse_of(:link) } end describe Site do - it { should have_many(:users).as_inverse_of(:site) } + it { should have_many(:users).as_inverse_of(:site).ordered_by(:email.desc) } end end