spec/support/mongoid.rb in statesman-0.2.1 vs spec/support/mongoid.rb in statesman-0.3.0

- old
+ new

@@ -15,12 +15,12 @@ field :to_state, type: String field :sort_key, type: Integer field :statesman_metadata, type: Hash - index({ sort_key: 1 }) + index(sort_key: 1) belongs_to :my_mongoid_model, index: true alias_method :metadata, :statesman_metadata alias_method :metadata=, :statesman_metadata= -end \ No newline at end of file +end