diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/testing/default.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/default.rb b/activesupport/lib/active_support/testing/default.rb index 0cb0eea7d2..d97a610c79 100644 --- a/activesupport/lib/active_support/testing/default.rb +++ b/activesupport/lib/active_support/testing/default.rb @@ -2,7 +2,8 @@ module ActiveSupport module Testing module Default def run(*args) - return if method_name == :default_test + #method_name appears to be a symbol on 1.8.4 and a string on 1.8.6 + return if @method_name.to_s == "default_test" super end end |