From 4d0fac7c8057d2732203fe9f219059945aa9750c Mon Sep 17 00:00:00 2001 From: talig Date: Mon, 16 Apr 2018 08:50:56 +0300 Subject: Add flow tests for unique value RESTs Change-Id: I6ffbdbbcf83b5d17db83c39cc32fcd164ccfd6c0 Issue-ID: SDC-1177 Signed-off-by: talig --- openecomp-bdd/stepDefinitions/General_Steps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openecomp-bdd/stepDefinitions') 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 -- cgit 1.2.3-korg