 
   auth.register BLANK_REGISTRATION
     .then ->
-      throw new Error 'Should not have been able to register'
+      t.fail 'Should not have been able to register'
 
     .catch (errors) ->
       t.ok errors?.length is 1, 'Should have gotten one error'


  auth.register SHORT_PASSWORD_REGISTRATION
    .then ->
      throw new Error 'Should not have been able to register'

    .catch (errors) ->
      t.ok errors?.length is 1, 'Should have gotten one error'


  auth.signIn BAD_LOGIN
    .then ->
      t.fail 'Should not have been able to sign in with a bad login'

    .catch (errors) ->
      t.ok errors?.length is 1, 'Should have gotten one error'
