angular/angular.js — pull request #2494 by OrenAvissar (2013-04-24 00:11:48+00:00)
Title: test(browser/compile): fix calls to Jasmine fail()

The Jasmine fail() calls in `browserSpec.js` and `compileSpec.js` are causing `ReferenceError: Can't find variable: fail`. In both cases the call to `fail()` should be `this.fail(Error())`.

This was discussed in [jasmine-node issue #81](https://github.com/mhevery/jasmine-node/issues/81)

The `browserSpec.js` case was triggered for me because PhantomJS wasn't dropping cookies over 4kb.