standardapi 5.0.0.13 → 5.0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/standard_api/test_case.rb +1 -0
- data/lib/standard_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4095b09787b11d959aa9b8fa93b622c00a4ea17
|
4
|
+
data.tar.gz: 52d6e190c82940c32497ddf56faadea89d726bd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0bf2507e1cde35d75cf02ba964dbe46b67e7d203dec4e2ec057d1361f378112dd5bbf2b3c4e68b76f565680ecdf80c62bf96e014ae6839b30a4d00c253a2cea
|
7
|
+
data.tar.gz: c0b9fcad3f525a0495df22d05f1d81e8112497cc67da4bc8ac7f0f8c40d228811d80940678a86753c2ffbefa77a3d82cbc19f6a60058c2c42f8bcfe3891666fd
|
@@ -155,6 +155,7 @@ module StandardAPI::TestCase
|
|
155
155
|
model.instance_variable_get('@filters').each do |filter|
|
156
156
|
next if filter[1].is_a?(Proc) # Custom filter
|
157
157
|
next if model.reflect_on_association(filter[0]) # TODO: Relation Filter Tests
|
158
|
+
next if !model.respond_to?(filter[0])
|
158
159
|
|
159
160
|
define_method("test_model_filter_#{filter[0]}") do
|
160
161
|
m = create_model
|
data/lib/standard_api/version.rb
CHANGED