diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-23 15:40:14 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-08-23 15:40:26 +0530 |
commit | a856e0871b7203458da883efcd38e7bbb83fb695 (patch) | |
tree | df1e71a1a6685a9b8511464b65027e3e6892dc74 /src/app/about-us/aboutus.component.spec.ts | |
parent | 97870855d73e5445ed6e76a1abf2f148cd086bf3 (diff) |
aboutus.component.spec - fixed test case
Test case in aboutus.component spec file failed iwth below error. Fixed
this.
"Failed: Expected Response with status: null null for url:null to be
'some data'"
Issue-ID: APPC-1064
Change-Id: If1b0dbbc68c69cbb62799b31ccb93b7ab06ee9ac
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/about-us/aboutus.component.spec.ts')
-rw-r--r-- | src/app/about-us/aboutus.component.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/about-us/aboutus.component.spec.ts b/src/app/about-us/aboutus.component.spec.ts index f9bc0cd..7240280 100644 --- a/src/app/about-us/aboutus.component.spec.ts +++ b/src/app/about-us/aboutus.component.spec.ts @@ -83,7 +83,7 @@ describe('ContacUsComponent', () => { let content = 'test'; // component.open(content); component.versionLogFile().subscribe((data) => { - expect(data).toBe('some Data'); + expect(data.text()).toBe('some data'); }); })); |