Skip to content

Instantly share code, notes, and snippets.

@gnidan
Created June 21, 2012 21:02
Show Gist options
  • Save gnidan/2968504 to your computer and use it in GitHub Desktop.
Save gnidan/2968504 to your computer and use it in GitHub Desktop.
2) Login should warn on authentication errors:
TypeError: Object #<XMLHttpRequest> has no method 'open'
at Object.send (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:8068:11)
at Function.ajax (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:7580:15)
at Function.authenticate (/home/gnidan/src/ui/selling/app/models/session.coffee:29:16)
at Login.onSubmit (/home/gnidan/src/ui/selling/app/controllers/login.coffee:37:22)
at Object.<anonymous> (/home/gnidan/src/ui/selling/node_modules/spine/lib/spine.js:114:21)
at Object.<anonymous> (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:3256:9)
at Object.<anonymous> (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:2875:28)
at Object.trigger (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:3144:12)
at Object.<anonymous> (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:3781:17)
at Function.each (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:658:20)
at [object Object].each (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:271:17)
at [object Object].trigger (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:3780:15)
at [object Object].submit (/home/gnidan/src/ui/selling/node_modules/jqueryify/index.js:3834:9)
at Context.<anonymous> (/home/gnidan/src/ui/selling/test/specs/controllers/login.coffee:52:18)
at Test.run (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runnable.js:168:32)
at Runner.runTest (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:295:10)
at /home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:339:12
at next (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:223:14)
at /home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:232:7
at next (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:182:23)
at /home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:195:7
at Hook.run (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runnable.js:170:5)
at next (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:191:10)
at Array.0 (/home/gnidan/src/ui/selling/node_modules/mocha/lib/runner.js:200:5)
at EventEmitter._tickCallback (node.js:192:40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment