standardapi 1.0.0 → 1.0.1
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 +3 -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: 6353f71131f0c0fad684accfcc6ca5c3dfbf1a9a
|
4
|
+
data.tar.gz: 0a41e917006d06a9d962c8eacb128d76893dabf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7c8bb29581b057ae6866c5d2b1059c5803ffbd23f386b8c2a1107b8d30e2ccfdc59c74d6a0d78b023e3a86a1f026214d8a3f056c1768f653c59d0d9116f3306
|
7
|
+
data.tar.gz: 15b2f53b35ba5d81775b10e4a151a1126d02ffb7f9ee4081f547c735ac56cf03445e2da5be98f0bf68fd7be0c744ef2d416eb03878ffd0a42b160292e206c2ab
|
@@ -25,7 +25,9 @@ module StandardAPI::TestCase
|
|
25
25
|
klass.extend(ClassMethods)
|
26
26
|
|
27
27
|
klass.controller_class.action_methods.each do |action|
|
28
|
-
|
28
|
+
if const_defined?("StandardAPI::TestCase::#{action.capitalize}Tests")
|
29
|
+
klass.include("StandardAPI::TestCase::#{action.capitalize}Tests".constantize)
|
30
|
+
end
|
29
31
|
end
|
30
32
|
end
|
31
33
|
|