summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-08-23 15:40:14 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-08-23 15:40:26 +0530
commita856e0871b7203458da883efcd38e7bbb83fb695 (patch)
treedf1e71a1a6685a9b8511464b65027e3e6892dc74 /src
parent97870855d73e5445ed6e76a1abf2f148cd086bf3 (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')
-rw-r--r--src/app/about-us/aboutus.component.spec.ts2
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');
});
}));