summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/stepDefinitions/General_Steps.js
diff options
context:
space:
mode:
authortalig <talig@amdocs.com>2018-04-16 08:50:56 +0300
committerOren Kleks <orenkle@amdocs.com>2018-04-16 06:41:53 +0000
commit4d0fac7c8057d2732203fe9f219059945aa9750c (patch)
treee867a3df1b7da67ad1a0e066a80d0d3ced6b24de /openecomp-bdd/stepDefinitions/General_Steps.js
parenteb77030949aaff507205e83dc7c1972c088f36a8 (diff)
Add flow tests for unique value RESTs
Change-Id: I6ffbdbbcf83b5d17db83c39cc32fcd164ccfd6c0 Issue-ID: SDC-1177 Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'openecomp-bdd/stepDefinitions/General_Steps.js')
-rw-r--r--openecomp-bdd/stepDefinitions/General_Steps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-bdd/stepDefinitions/General_Steps.js b/openecomp-bdd/stepDefinitions/General_Steps.js
index b3fb0e90d2..bf69d8d9ba 100644
--- a/openecomp-bdd/stepDefinitions/General_Steps.js
+++ b/openecomp-bdd/stepDefinitions/General_Steps.js
@@ -115,8 +115,8 @@ Then('I want to check property {string} for value {int}', function(string, int)
* @exampleFile Example_ResponseData_CheckAndManipulation.feature
* @step I want to check property {string} to be "True/False"
**/
-Then('I want to check property {string} to be {string}', function(string, string2) {
- assert.equal(_.get(this.context.responseData, string), string2.toLowerCase());
+Then('I want to check property {string} to be {word}', function(string, string2) {
+ assert.equal(_.get(this.context.responseData, string), string2.toLowerCase() == "true");
});
/**
* @module ResponseData