graphiti_spec_helpers 1.0.alpha.7 → 1.0.alpha.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e825d4aa479a4e8cc4bed8f5dd7a87052560be8b
|
4
|
+
data.tar.gz: 6042846678fae63bcb8ae9a1292c0d15fe84e25d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c447b38930bfb65c489d8a0efbad3c86346be25fbfb95e4e3036604950bae762c460db997a58a223923e8cc3977353a35df7d4780898744852f656333613128
|
7
|
+
data.tar.gz: c621f9efa5780f118b82ea0dd21a3fd3569dd0be2a653d33914cf8db635c61cd86d8dc3e991edf3cfa5c88f59e9500dbdc1f51ae127a81509a23be235b13fec2
|
@@ -60,7 +60,8 @@ module GraphitiSpecHelpers
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def method_missing(id, *args, &blk)
|
63
|
-
if error = @errors.
|
63
|
+
if error = @errors.select { |e| e.attribute.to_sym == id }
|
64
|
+
error = error[0] if error.length == 1
|
64
65
|
return error
|
65
66
|
else
|
66
67
|
super
|