diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 15:02:43 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 15:02:43 +0000 |
commit | 45caae41c3fbfc7ba77c5e2dc70734fa80501828 (patch) | |
tree | c1d290609d625377ede0dd32d26fde245144eea7 /activesupport/test/inflector_test.rb | |
parent | d33b7416213290a7e22af05b86c2a6ad3716b5f9 (diff) | |
download | rails-45caae41c3fbfc7ba77c5e2dc70734fa80501828.tar.gz rails-45caae41c3fbfc7ba77c5e2dc70734fa80501828.tar.bz2 rails-45caae41c3fbfc7ba77c5e2dc70734fa80501828.zip |
Fixed all the tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/inflector_test.rb')
-rw-r--r-- | activesupport/test/inflector_test.rb | 8 |
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 |