Skip to content

Commit

Permalink
Fix test for latest Mongoid. Use BSON::ObjectId instead of Mongoid::B…
Browse files Browse the repository at this point in the history
…SON::ObjectId.
  • Loading branch information
simi committed Oct 13, 2013
1 parent 02de92f commit 3f36057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/app/models/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Person
field :owner_id, type: Integer
field :security_code
field :reading, type: Object
field :bson_id, type: Moped::BSON::ObjectId
field :bson_id, type: BSON::ObjectId
field :pattern, type: Regexp
field :override_me, type: Integer
field :t, as: :test, type: String
Expand Down

0 comments on commit 3f36057

Please sign in to comment.