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('
');
scope.url = 'http://localhost/';
scope.$eval();
- expect(sortedHtml(element)).toEqual('
');
+ expect(element.attr('src')).toEqual('http://localhost/');
});
it('should bind href and merge with other attrs', function() {