diff options
| author | Misko Hevery | 2011-02-19 20:33:54 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-02-19 20:37:17 -0800 |
| commit | e160944bfa1fd89f99571522040ca9b41280215d (patch) | |
| tree | 34710ece6c9e21a47a7b75f84d5ebce7a4698d22 /test/markupSpec.js | |
| parent | 6f8940c5d04bdedbb1d5415ea30f058fffa41010 (diff) | |
| download | angular.js-e160944bfa1fd89f99571522040ca9b41280215d.tar.bz2 | |
fix test which fails on CI build, because the image has size
Diffstat (limited to 'test/markupSpec.js')
| -rw-r--r-- | test/markupSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/markupSpec.js b/test/markupSpec.js index 2c933f09..a4a1a923 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -93,7 +93,7 @@ describe("markups", function(){ compile('<img ng:src="{{url}}" />'); scope.url = 'http://localhost/'; scope.$eval(); - expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}" src="http://localhost/"></img>'); + expect(element.attr('src')).toEqual('http://localhost/'); }); it('should bind href and merge with other attrs', function() { |
