diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/about-us/aboutus.component.spec.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/app/about-us/aboutus.component.spec.ts b/src/app/about-us/aboutus.component.spec.ts index 29f9784..af54b2b 100644 --- a/src/app/about-us/aboutus.component.spec.ts +++ b/src/app/about-us/aboutus.component.spec.ts @@ -83,10 +83,8 @@ describe('ContacUsComponent', () => { it('should open modal', inject([NgbModule, Http], (ngbModule: NgbModule, http: Http) => { let content = 'test'; - // component.open(content); - component.versionLogFile().subscribe((data) => { - expect(data.text()).toBe('some data'); - }); + component.versionLogFile(); + expect(component.data.text()).toBe('some data'); })); it('should download log file', () => { |