diff options
Diffstat (limited to 'test/directivesSpec.js')
| -rw-r--r-- | test/directivesSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/directivesSpec.js b/test/directivesSpec.js index d012fdd0..71402af7 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -52,8 +52,8 @@ describe("directives", function(){ }); it('should ng-bind-attr', function(){ - var scope = compile('<img ng-bind-attr="{src:\'mysrc\', alt:\'myalt\'}"/>'); - expect(element.attr('src')).toEqual('mysrc'); + var scope = compile('<img ng-bind-attr="{src:\'http://localhost/mysrc\', alt:\'myalt\'}"/>'); + expect(element.attr('src')).toEqual('http://localhost/mysrc'); expect(element.attr('alt')).toEqual('myalt'); }); |
