aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRonak Jangir <ronakjangir47@gmail.com>2015-08-18 13:03:55 +0530
committerRonak Jangir <ronakjangir47@gmail.com>2015-09-06 13:34:24 +0530
commitf96c7d963c78b27249cc8166f6dcc3c221938fa6 (patch)
treed80c2a21d80f75ddd1dde3980fe8f98388d0f358 /activesupport/test
parentf2400de8013c4d9798e7f69c44b1c987e719a5a4 (diff)
downloadrails-f96c7d963c78b27249cc8166f6dcc3c221938fa6.tar.gz
rails-f96c7d963c78b27249cc8166f6dcc3c221938fa6.tar.bz2
rails-f96c7d963c78b27249cc8166f6dcc3c221938fa6.zip
safe_constantize - Added Object scoped missing test cases
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/constantize_test_cases.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/constantize_test_cases.rb b/activesupport/test/constantize_test_cases.rb
index 366e4e5ef0..d69469c49a 100644
--- a/activesupport/test/constantize_test_cases.rb
+++ b/activesupport/test/constantize_test_cases.rb
@@ -100,6 +100,8 @@ module ConstantizeTestCases
assert_nil yield("Ace::Gas::ConstantizeTestCases")
assert_nil yield("#<Class:0x7b8b718b>::Nested_1")
assert_nil yield("Ace::gas")
+ assert_nil yield('Object::ABC')
+ assert_nil yield('A::Object::B')
assert_raises(NameError) do
with_autoloading_fixtures do