mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 07:50:22 +00:00
test($compile): fix spelling error in assertion (ngAttr*)
The string 'test2' should be 'test3' as 'test2' has already been tested with the previous assertion.
This commit is contained in:
parent
258e986284
commit
f6663b4314
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue