From ee04141a5a17f375018e20f0919e7afc03b4875f Mon Sep 17 00:00:00 2001
From: Misko Hevery
Date: Tue, 19 Jul 2011 09:50:51 -0700
Subject: style(warnings): prevent the browser from making bogus GET requests
during tests
---
test/directivesSpec.js | 2 +-
test/markupSpec.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'test')
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('');
+ var scope = compile('
');
+ compile('');
expect(element.attr('ng:bind-attr')).toEqual('{"src":"http://server/{{path}}.png"}');
scope.$set('path', 'a/b');
scope.$eval();
@@ -142,7 +142,7 @@ describe("markups", function(){
});
it('should bind src', function() {
- compile('