diff --git a/spec/models/jar.rb b/spec/models/jar.rb
index <HASH>..<HASH> 100644
--- a/spec/models/jar.rb
+++ b/spec/models/jar.rb
@@ -1,5 +1,5 @@
 class Jar
   include Mongoid::Document
-  identity type: Integer
+  identity :type => Integer
   has_many :cookies, :class_name => "Cookie"
 end
Fix <I>.x syntax error in spec models