diff options
| author | Igor Minar | 2012-06-08 11:53:17 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-06-08 15:27:04 -0700 |
| commit | 5c95b8cccc0d72f7ca3afb1162b9528c1222eb3c (patch) | |
| tree | 0f4f296e5f2d1ebe5c2864f3874e613458ad6151 /test/AngularSpec.js | |
| parent | 9be82d942fc6ab2772197c84a35a4c374c604cbc (diff) | |
| download | angular.js-5c95b8cccc0d72f7ca3afb1162b9528c1222eb3c.tar.bz2 | |
fix(startingTag): make tag name always lowercase
some browsers (IE) always provide the nodeName as upper-case
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 70f41d33..1c0f5f78 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -101,7 +101,7 @@ describe('angular', function() { describe('elementHTML', function() { it('should dump element', function() { - expect(lowercase(startingTag('<div attr="123">something<span></span></div>'))). + expect(startingTag('<div attr="123">something<span></span></div>')). toEqual('<div attr="123">'); }); }); @@ -541,7 +541,7 @@ describe('angular', function() { describe('startingElementHtml', function(){ it('should show starting element tag only', function(){ expect(startingTag('<ng-abc x="2A"><div>text</div></ng-abc>')). - toBeOneOf('<ng-abc x="2A">', '<NG-ABC x="2A">'); + toBe('<ng-abc x="2A">'); }); }); |
