class Jar
  include Mongoid::Document
  identity type: Integer
  has_many :cookies, :class_name => "Cookie"
end

class Jar
  include Mongoid::Document
  identity :type => Integer
  has_many :cookies, :class_name => "Cookie"
end

Fix 1.8.x syntax error in spec models
Fix 1.8.x syntax error in spec models
