         model = new Skr.Models.Customer()
         Lanes.Testing.ModelSaver.perform(model, done).then (save)->
             expect(save.error).toHaveBeenCalled()
-            expect(model.errors.code).toContain("blank")
+            expect(model.errors?.code).toContain("blank")
 
     it "saves when fields are set", (done)->
         model = new Skr.Models.Customer(

describe "Skr.Models.Customer", ->

    it "can be instantiated", ->
        model = new Skr.Models.Customer()

        Lanes.Testing.ModelSaver.perform(model, done).then (save)->
            expect(save.error).not.toHaveBeenCalled()
            expect(model.errors).toBeNull()
