Skip to content
This repository
Browse code

Fix 1.8 failures in finders spec

  • Loading branch information...
commit 1dca8527f985e6de05b602f5cfe180d531e1a17d 1 parent 612c346
Durran Jordan durran authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 spec/functional/mongoid/finders_spec.rb
4 spec/functional/mongoid/finders_spec.rb
@@ -33,8 +33,8 @@
33 33 end
34 34
35 35 it "does not duplicate ids in the eager load query" do
36   - Blog.where(_id: blog.id).first.posts.should have(2).entries
37   - Blog.where(_id: blog.id).first.posts.should have(2).entries
  36 + Blog.where(:_id => blog.id).first.posts.should have(2).entries
  37 + Blog.where(:_id => blog.id).first.posts.should have(2).entries
38 38 end
39 39 end
40 40

0 comments on commit 1dca852

Please sign in to comment.
Something went wrong with that request. Please try again.