aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVojta Jina2012-01-29 21:59:35 -0800
committerVojta Jina2012-01-29 21:59:35 -0800
commit58d6da556a89d4d576a40164765dc42dbbfa4aad (patch)
tree6b08307bd67708f45026cd0ad63a1f598cc4230e /test
parentb6f61a89cf36a41198fecebbfb617c47217e9a64 (diff)
downloadangular.js-58d6da556a89d4d576a40164765dc42dbbfa4aad.tar.bz2
refactor(binder): replace jested assertions with jasmine
Diffstat (limited to 'test')
-rw-r--r--test/BinderSpec.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/BinderSpec.js b/test/BinderSpec.js
index 84deca35..b869c616 100644
--- a/test/BinderSpec.js
+++ b/test/BinderSpec.js
@@ -388,9 +388,7 @@ describe('Binder', function() {
$rootScope.name = "World";
$rootScope.$apply();
- assertEquals(
- '<pre>Hello World!</pre>',
- sortedHtml(element));
+ expect(sortedHtml(element)).toBe('<pre>Hello World!</pre>');
}));
it('FillInOptionValueWhenMissing', inject(function($rootScope, $compile) {