itms_automation 2.7.4 → 2.7.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b64bf92d7eea643ea0cfa8fce4ffa9fcbec40c94c410f55304d6478d3a5c217
|
4
|
+
data.tar.gz: 366081969d763d1d5035febd1edc5543f43398d7bb8d27fb72eb35eff2c6df64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb24cfbbeeaf755cbfff7ae58fc31ac4cac98c7d004063499726aa32a087feff4e2e3287e211bcac139c5f4fb429bd66324ab5a5233e5507e3e1ad4c54c4bc48
|
7
|
+
data.tar.gz: 48cf28006a35fe632d99831677b178ed0cd926d1247fd2ff6ca24c4ca28989e9a14ec60d51f59b366515691620be383f954fe2997c47e18a43f3b12cad0c95ee
|
@@ -195,11 +195,11 @@ def verify_selected_value
|
|
195
195
|
end
|
196
196
|
|
197
197
|
def verify(var_name, value)
|
198
|
-
if (value == "true" || value == "false")
|
198
|
+
if (value == "true" || value == "false")
|
199
199
|
_value = value
|
200
|
-
|
200
|
+
else elseif (value == '0' || !!number_or_nil(value)) {
|
201
201
|
_value = value
|
202
|
-
|
202
|
+
end
|
203
203
|
result = _value
|
204
204
|
? expect($vars[var_name]).to eq(_value)
|
205
205
|
: expect($vars[var_name]).to eq(value)
|