itms_automation 2.7.6 → 2.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itms_automation/methods/assertion_methods.rb +10 -6
- data/lib/itms_automation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7916ef1a1a630922d53d189878ff3edf3b4466c199213842671795f632146da
|
4
|
+
data.tar.gz: ebca6f2d5493f54b14cb4ef55eff42b3681c85d5f113c2089cf60275cf81b137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 244628234f2b20783afde4fb77e18f375aaad736f7182046fe86252a9c9f689b1ef068f394540a0d4868da68f8d16598c3484196138d1dd1e2831fe619c313c8
|
7
|
+
data.tar.gz: efdc15d496b32f9a100d0f56a3f303221abced561c2e5fc2aadd824477c8a42d6d446c705dbd3e6a4fc40348e2f4ba7e02a3a3a33450f0079750a888516233fe
|
@@ -108,9 +108,11 @@ def assert(var_name, value)
|
|
108
108
|
else elseif (value == '0' || !!number_or_nil(value))
|
109
109
|
_value = value
|
110
110
|
end
|
111
|
-
result = _value
|
112
|
-
|
113
|
-
|
111
|
+
result = if _value
|
112
|
+
expect($vars[var_name]).to eq(_value)
|
113
|
+
else
|
114
|
+
expect($vars[var_name]).to eq(value)
|
115
|
+
end
|
114
116
|
end
|
115
117
|
|
116
118
|
# Method to verify title
|
@@ -200,9 +202,11 @@ def verify(var_name, value)
|
|
200
202
|
else elseif (value == '0' || !!number_or_nil(value))
|
201
203
|
_value = value
|
202
204
|
end
|
203
|
-
result = _value
|
204
|
-
|
205
|
-
|
205
|
+
result = if _value
|
206
|
+
expect($vars[var_name]).to eq(_value)
|
207
|
+
else
|
208
|
+
expect($vars[var_name]).to eq(value)
|
209
|
+
end
|
206
210
|
end
|
207
211
|
|
208
212
|
# Method to find difference between images
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itms_automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- INFOdation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|