Unit tests for Attach widget

This commit is contained in:
Denys Vuika
2016-10-13 15:37:48 +01:00
parent cf287abdc1
commit 4c66b9ef93
4 changed files with 335 additions and 29 deletions

View File

@@ -295,7 +295,7 @@ describe('DisplayValueWidget', () => {
spyOn(formService, 'getRestFieldValues').and.callFake(() => {
return Observable.create(observer => {
observer.next([
{ id: '1', name: 'option 1' },
{ id: '1', name: 'option 1' },
{ id: '2', name: 'option 2' }
]);
observer.complete();