diff options
Diffstat (limited to 'test/ng/browserSpecs.js')
| -rw-r--r-- | test/ng/browserSpecs.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/ng/browserSpecs.js b/test/ng/browserSpecs.js index 4563d14b..77894d43 100644 --- a/test/ng/browserSpecs.js +++ b/test/ng/browserSpecs.js @@ -526,19 +526,6 @@ describe('browser', function() { }); }); - describe('addJs', function() { - it('should append a script tag to body', function() { - browser.addJs('http://localhost/bar.js'); - expect(scripts.length).toBe(1); - expect(scripts[0].src).toBe('http://localhost/bar.js'); - expect(scripts[0].id).toBe(''); - }); - - it('should return the appended script element', function() { - var script = browser.addJs('http://localhost/bar.js'); - expect(script).toBe(scripts[0]); - }); - }); describe('baseHref', function() { var jqDocHead; |
