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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86fbddaa79809d2f3b0f075474e08154e200bbe5
4
- data.tar.gz: 82b6a3783e344c8e51b9f1bcc21c1373207365f8
3
+ metadata.gz: 6353f71131f0c0fad684accfcc6ca5c3dfbf1a9a
4
+ data.tar.gz: 0a41e917006d06a9d962c8eacb128d76893dabf5
5
5
  SHA512:
6
- metadata.gz: 8c4e88e5ab6b8409d459130e3536c2c8de33201a09235507222ce11c07c4cdbde14382393d8df2d3cbd7614f8f79b3794ba2a946b32f97b435f1e084ccefc7c3
7
- data.tar.gz: b0edbe753c752f464931a4341bb9084577beab115d60c3d356b5a81477953b7f0fe83987f3f3f594714f20b40c3d1ca79042f9551e98ed7d052f896ae63fbe32
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
- klass.include("StandardAPI::TestCase::#{action.capitalize}Tests".constantize)
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standardapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Bracy