Skip to content

Commit

Permalink
test($compile): fix spelling error in assertion (ngAttr*)
Browse files Browse the repository at this point in the history
The string 'test2' should be 'test3' as 'test2' has already been
tested with the previous assertion.
  • Loading branch information
Brian Fitzpatrick authored and petebacondarwin committed Jul 28, 2013
1 parent 258e986 commit f6663b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ng/compileSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f6663b4

Please sign in to comment.