aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
diff options
context:
space:
mode:
authorVladimir Yarotsky <vladimir.yarotsky@gmail.com>2014-05-19 22:53:55 -0700
committerVladimir Yarotsky <vladimir.yarotsky@gmail.com>2014-05-20 08:10:40 -0700
commit6cc5a86a54b8eef361e65c871204099e3afcbba7 (patch)
tree33f66e1c00cc2941596a80c151e37adb42c215f9 /activesupport/test/core_ext
parentdc2e3ea8c41677cdb0177a74f11a08eccc5f3554 (diff)
downloadrails-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.rb2
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