aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/inflector_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/inflector_test.rb')
-rw-r--r--activesupport/test/inflector_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb
index 083e7993dc..2f4174beca 100644
--- a/activesupport/test/inflector_test.rb
+++ b/activesupport/test/inflector_test.rb
@@ -1,9 +1,9 @@
require 'test/unit'
require File.dirname(__FILE__) + '/../lib/inflector'
-module A
- module B
- class C
+module Ace
+ module Base
+ class Case
end
end
end
@@ -164,7 +164,7 @@ class InflectorTest < Test::Unit::TestCase
end
def test_constantize
- assert_equal A::B::C, Inflector.constantize("A::B::C")
+ assert_equal Ace::Base::Case, Inflector.constantize("Ace::Base::Case")
assert_equal InflectorTest, Inflector.constantize("InflectorTest")
assert_raises(NameError) { Inflector.constantize("UnknownClass") }
end