itms_automation 2.7.3 → 2.7.4
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: 7a0b67a5af9ae7b5abab5f2993983dd70c104608d1895aeed6ad63a034f1f8e0
|
4
|
+
data.tar.gz: 10cdb6858de34421b696c131553f2247663d785cdf2f648bccdfd20a28763aea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e9ddac84ad149c3cb5d71eaae39cf0710d150d35f0479095696134a5ba3cc2e1bd4f83c40cc2f3c5991c2c69f04e41429ee60fe582aa7000b90c803ab9295c
|
7
|
+
data.tar.gz: 9a628c5bc6d8d62ee7ec9f68756aed60017d7be67585d0ca604c2fd28fbf024b193dd39d240c1f03abb4a4231b9d6f5d013ffd64b9fd081136ee65d9bd3e4f7c
|
@@ -103,11 +103,11 @@ def assert_selected_value
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def assert(var_name, value)
|
106
|
-
if (value == "true" || value == "false")
|
106
|
+
if (value == "true" || value == "false")
|
107
107
|
_value = value
|
108
|
-
|
108
|
+
else elseif (value == '0' || !!number_or_nil(value)) {
|
109
109
|
_value = value
|
110
|
-
|
110
|
+
end
|
111
111
|
result = _value
|
112
112
|
? expect($vars[var_name]).to eq(_value)
|
113
113
|
: expect($vars[var_name]).to eq(value)
|