diff options
| author | Misko Hevery | 2010-04-22 21:04:20 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-04-22 21:04:20 -0700 | 
| commit | 7ef5e055afec5ad7f279bcc4bd70b9f069d87a95 (patch) | |
| tree | 089c7352415b7e762f3fa48b501174f8631a9a02 /test/BinderTest.js | |
| parent | fe434307d15d697a5ffade51bad068f6443965b2 (diff) | |
| download | angular.js-7ef5e055afec5ad7f279bcc4bd70b9f069d87a95.tar.bz2 | |
fix CI Build
Diffstat (limited to 'test/BinderTest.js')
| -rw-r--r-- | test/BinderTest.js | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/test/BinderTest.js b/test/BinderTest.js index 76561dc3..ecdd506f 100644 --- a/test/BinderTest.js +++ b/test/BinderTest.js @@ -436,7 +436,9 @@ BinderTest.prototype.testActionOnAHrefThrowsError = function(){    };    var input = c.node;    input.trigger('click'); -  assertEquals({a:"abc", b:2}, fromJson(input.attr('ng-exception'))); +  var error = fromJson(input.attr('ng-exception')); +  assertEquals("abc", error.a); +  assertEquals(2, error.b);    assertTrue("should have an error class", input.hasClass('ng-exception'));    // TODO: I think that exception should never get cleared so this portion of test makes no sense  | 
