eac_rails_utils 0.15.1 → 0.15.2
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: c9fc6f5eeb0a83af418670cea2dc95b53fa73814d58ffab721c0ef5ec39d5dd2
|
4
|
+
data.tar.gz: c8f1f12ef2b022f027edcc3dae5807ca261a2af59e11b6e1caee773b49f856bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b90e015789b85a68c6b10959a9b9d2f8ad9d377fb46b5203abec820abb1d71c67e633f2766b1f05c5bebb5be3f5e3f2bc19bc3dde15942eb3a8846a28718d256
|
7
|
+
data.tar.gz: f8fab12ef5014a74d07677aef9f8207181793c6d2774c4cfe43afde093b0741b883b236ec89c97e5cf48891692f570e63e8b829978ff8e984e43980ef63b69e8
|
@@ -12,9 +12,9 @@ module EacRailsUtils
|
|
12
12
|
send(record_variable).send("#{attribute}=", value)
|
13
13
|
end
|
14
14
|
|
15
|
-
it "#{record_variable} should be {valid ? '' : 'not '}valid" do
|
16
|
-
expect(send(record_variable).valid?).to
|
17
|
-
send(record_variable).errors.messages
|
15
|
+
it "#{record_variable} should be #{valid ? '' : 'not '}valid" do
|
16
|
+
expect(send(record_variable).valid?).to(send("be_#{valid ? 'truthy' : 'falsy'}"),
|
17
|
+
-> { send(record_variable).errors.messages })
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_rails_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E.A.C.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel-associations
|