diff options
| author | Brian Fitzpatrick | 2013-07-28 17:40:16 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-07-28 20:30:30 +0100 | 
| commit | f6663b4314e4e8312ec54fb3265fc25754a22f8c (patch) | |
| tree | 16797eb9a539baea6397be6d864dbe9ca24d4daf /test | |
| parent | 258e9862840f9d45709664e0e5b2a18540d8828d (diff) | |
| download | angular.js-f6663b4314e4e8312ec54fb3265fc25754a22f8c.tar.bz2 | |
test($compile): fix spelling error in assertion (ngAttr*)
The string 'test2' should be 'test3' as 'test2' has already been
tested with the previous assertion.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/ng/compileSpec.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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('<span ng:attr:test="{{name}}" ng-Attr-test2="{{name}}" ng_Attr_test3="{{name}}"></span>')($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'); | 
