summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/stepDefinitions/General_Steps.js
diff options
context:
space:
mode:
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