From f6663b4314e4e8312ec54fb3265fc25754a22f8c Mon Sep 17 00:00:00 2001 From: Brian Fitzpatrick Date: Sun, 28 Jul 2013 17:40:16 +0100 Subject: test($compile): fix spelling error in assertion (ngAttr*) The string 'test2' should be 'test3' as 'test2' has already been tested with the previous assertion. --- test/ng/compileSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index 74090932..45502b26 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -3064,7 +3064,7 @@ describe('$compile', function() { element = $compile('')($rootScope); expect(element.attr('test')).toBeUndefined(); expect(element.attr('test2')).toBeUndefined(); - expect(element.attr('test2')).toBeUndefined(); + expect(element.attr('test3')).toBeUndefined(); $rootScope.$digest(); expect(element.attr('test')).toBe('Misko'); expect(element.attr('test2')).toBe('Misko'); -- cgit v1.2.3