'use strict'

let imponderous = require('../../index')

class User extends imponderous.Model {
  static get schema () {
    return {
      name: {
        index: true
      },
      email: {
        unique: true,
        required: true,
        validator: 'email'
      },
      dob: {
        type: Date
      }
    }
  }
}

module.exports = User

@@ -298,16 +298,60 @@
 e: Date%0A
+      %7D,%0A      spam: %7B%0A        type: String%0A
       %7D%0A

Make "spam" property on test User model a String.