Aboutus component spec- error fix
[appc/cdt.git] / src / app / about-us / aboutus.component.spec.ts
index 5656942..5a9e6ef 100644 (file)
@@ -89,7 +89,7 @@ fdescribe('ContacUsComponent', () => {
     it('should open modal', inject([NgbModule, Http], (ngbModule: NgbModule, http: Http) => {
         let content = 'test';
         component.versionLogFile();
-        expect(component.data.text()).toBe('some data');
+        expect(component.data).toBe('some data');
     }));
 
     it('should download log file', () => {