diff options
Diffstat (limited to 'test/markupSpec.js')
| -rw-r--r-- | test/markupSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/markupSpec.js b/test/markupSpec.js index a457efae..ce44d88c 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -34,7 +34,7 @@ describe("markups", function(){ }); it('should translate {{}} in attributes', function(){ - compile('<img src="http://server/{{path}}.png"/>'); + compile('<div src="http://server/{{path}}.png"/>'); 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('<img ng:src="{{url}}" />'); + compile('<div ng:src="{{url}}" />'); scope.url = 'http://localhost/'; scope.$eval(); expect(element.attr('src')).toEqual('http://localhost/'); |
