summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-04 12:37:42 +0530
committerTakamune Cho <tc012c@att.com>2018-09-04 19:02:56 +0000
commit6e5e1659ffed54fab4b1c8a86fcc74440aa6e9b8 (patch)
treedc276364d151f4c793f9174f4f4cddccd80994b9
parent3cda2df32f17ee304fd34441a58e72becc0639b6 (diff)
vm-filtering.pipe- test case
Corrected the test case to test the proper condition Issue-ID: APPC-1064 Change-Id: Icdf24bba4f329399d99b82c60abc5445754f419c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--src/app/shared/pipes/vm-filtering.pipe.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/shared/pipes/vm-filtering.pipe.spec.ts b/src/app/shared/pipes/vm-filtering.pipe.spec.ts
index 523abfb..3cb269b 100644
--- a/src/app/shared/pipes/vm-filtering.pipe.spec.ts
+++ b/src/app/shared/pipes/vm-filtering.pipe.spec.ts
@@ -43,7 +43,7 @@ describe('VmFilteringPipe', () => {
{action:"Configure","template-id":2,"type":"con"},
{action:"ConfigScaleout","template-id":1,"type":"conScale"}
]
- expect(pipe.transform(objArray,"ConfigScaleOut",2)[0].type).toBe("con")
+ expect(pipe.transform(objArray,"Config",2)[0].type).toBe("con")
});
});