From 15e1a29cd08993b599f390e83a249ec17f753972 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 13 Mar 2013 16:29:26 -0700 Subject: fix(compiler): corrects component transclusion on compilation root. Closes# 2155 --- test/ng/compileSpec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/ng/compileSpec.js') diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index 672a704d..0ef7e8bf 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -534,7 +534,7 @@ describe('$compile', function() { expect(div.hasClass('log')).toBe(true); expect(div.css('width')).toBe('10px'); expect(div.css('height')).toBe('20px'); - expect(div.attr('replace')).toEqual(''); + expect(div.attr('replace')).toEqual(undefined); expect(div.attr('high-log')).toEqual(''); })); @@ -856,7 +856,7 @@ describe('$compile', function() { $rootScope.$digest(); expect(sortedHtml(element)). - toEqual('