diff options
author | Vladimir Yarotsky <vladimir.yarotsky@gmail.com> | 2014-05-19 22:53:55 -0700 |
---|---|---|
committer | Vladimir Yarotsky <vladimir.yarotsky@gmail.com> | 2014-05-20 08:10:40 -0700 |
commit | 6cc5a86a54b8eef361e65c871204099e3afcbba7 (patch) | |
tree | 33f66e1c00cc2941596a80c151e37adb42c215f9 /activesupport/test/core_ext | |
parent | dc2e3ea8c41677cdb0177a74f11a08eccc5f3554 (diff) | |
download | rails-6cc5a86a54b8eef361e65c871204099e3afcbba7.tar.gz rails-6cc5a86a54b8eef361e65c871204099e3afcbba7.tar.bz2 rails-6cc5a86a54b8eef361e65c871204099e3afcbba7.zip |
Fix confusing exception in ActiveSupport delegation
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/module_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/module_test.rb b/activesupport/test/core_ext/module_test.rb index ff6e21854e..380f5ad42b 100644 --- a/activesupport/test/core_ext/module_test.rb +++ b/activesupport/test/core_ext/module_test.rb @@ -72,7 +72,7 @@ Product = Struct.new(:name) do def type @type ||= begin - nil.type_name + :thing_without_same_method_name_as_delegated.name end end end |