platanus 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/platanus/canned.rb +1 -1
- data/lib/platanus/version.rb +1 -1
- metadata +1 -1
data/lib/platanus/canned.rb
CHANGED
@@ -186,7 +186,7 @@ module Platanus
|
|
186
186
|
when :if_lower; return false unless user_feat < action_feat
|
187
187
|
else
|
188
188
|
# call custom test
|
189
|
-
if @owner.
|
189
|
+
if @owner.respond_to? test_name
|
190
190
|
return false unless @owner.send(test_name, action_feat, user_feat)
|
191
191
|
end
|
192
192
|
end
|
data/lib/platanus/version.rb
CHANGED