effective_test_bot 1.5.7 → 1.5.8
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: b0195f6175b4b0cfaf3e4ab9ddfef298e406935b06f0a5a0f8a2e95882c9472b
|
4
|
+
data.tar.gz: a2ab5cc7452c42aea78b7bd0d05422ab649bb0d4e724570963886a98b17f54d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c0a829794dcc61b80bbb312d45d8eb1440457caf33fc1009e133613f89f749a4c2ab2bde0c8744735f173823e5aef44b74f5ce681dadca6b1bf12e4d55eac0
|
7
|
+
data.tar.gz: fbcce9e8a07b92df51682e0c65a359817d981085c9ac0030a9d5bfa70e930bc1259055733e04d6eba44abbe38c2642461d5b8fe72258e7146a62c920882c69dc
|
@@ -206,7 +206,7 @@ module EffectiveTestBotAssertions
|
|
206
206
|
assert errors.blank?, message || "(no_assigns_errors) Unexpected @#{key} rails validation errors:\n#{errors}"
|
207
207
|
else
|
208
208
|
assigns.each do |key, value|
|
209
|
-
errors = value['errors'] if value.respond_to?(:[])
|
209
|
+
errors = (value['errors'] rescue false) if value.respond_to?(:[])
|
210
210
|
assert errors.blank?, message || "(no_assigns_errors) Unexpected @#{key} rails validation errors:\n#{errors}"
|
211
211
|
end
|
212
212
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_test_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|