mirror of https://github.com/rails/rails
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:
parent
73cc10305e
commit
2e0b33f277
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue