aboutsummaryrefslogtreecommitdiffstats
path: root/test/directivesSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-07-19 09:50:51 -0700
committerMisko Hevery2011-07-26 09:40:29 -0700
commitee04141a5a17f375018e20f0919e7afc03b4875f (patch)
treea81aa90d28db11129908e03787770c16e7fe258d /test/directivesSpec.js
parent66fec10dc309730ff6aa78a42c94f6c2a2b33b2a (diff)
downloadangular.js-ee04141a5a17f375018e20f0919e7afc03b4875f.tar.bz2
style(warnings): prevent the browser from making bogus GET requests during tests
Diffstat (limited to 'test/directivesSpec.js')
-rw-r--r--test/directivesSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/directivesSpec.js b/test/directivesSpec.js
index bb530128..58e5053f 100644
--- a/test/directivesSpec.js
+++ b/test/directivesSpec.js
@@ -111,7 +111,7 @@ describe("directive", function(){
describe('ng:bind-attr', function(){
it('should bind attributes', function(){
- var scope = compile('<img ng:bind-attr="{src:\'http://localhost/mysrc\', alt:\'myalt\'}"/>');
+ var scope = compile('<div ng:bind-attr="{src:\'http://localhost/mysrc\', alt:\'myalt\'}"/>');
expect(element.attr('src')).toEqual('http://localhost/mysrc');
expect(element.attr('alt')).toEqual('myalt');
});