test(forms): update test name with correct wording (#21833)

Use the term primitive value instead of standalone

Fixes #21831

PR Close #21833
This commit is contained in:
Oussama Ben Brahim 2018-01-27 20:02:39 +01:00 committed by Miško Hevery
parent 7e95802cc1
commit 54a14312d1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ import {of } from 'rxjs/observable/of';
expect(g.controls['password'].asyncValidator).toEqual(asyncValidator); expect(g.controls['password'].asyncValidator).toEqual(asyncValidator);
}); });
it('should use controls whose form state is a standalone value', () => { it('should use controls whose form state is a primitive value', () => {
const g = b.group({'login': b.control('some value', syncValidator, asyncValidator)}); const g = b.group({'login': b.control('some value', syncValidator, asyncValidator)});
expect(g.controls['login'].value).toEqual('some value'); expect(g.controls['login'].value).toEqual('some value');