Nested class gets qualified names.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2006-11-11 07:52:23 +00:00
parent 73cc10305e
commit 2e0b33f277
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ class RailsGeneratorTest < Test::Unit::TestCase
assert_equal 'Admin::Foo', g.class_name
assert_equal 'foo', g.singular_name
assert_equal 'foos', g.plural_name
assert_equal g.singular_name, g.file_name
assert_equal g.plural_name, g.table_name
assert_equal "admin_#{g.singular_name}", g.file_name
assert_equal "admin_#{g.plural_name}", g.table_name
assert_equal %w(bar baz), g.args
end