From 0305b6746e2c50960b042c5d687794e030930f8b Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 May 2010 13:43:54 -0700 Subject: change everything over to jasmine --- test/directivesSpec.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/directivesSpec.js b/test/directivesSpec.js index eb8a9785..42869a05 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -44,6 +44,15 @@ describe("directives", function(){ expect(lowercase(element.html())).toEqual('
hello
'); }); + it('should ng-bind element', function() { + angularFilter.myElement = function() { + return jqLite('hello'); + }; + var scope = compile('
'); + scope.$eval(); + expect(lowercase(element.html())).toEqual('hello'); + }); + it('should ng-bind-template', function() { var scope = compile('
'); scope.$set('name', 'Misko'); -- cgit v1.2.3