Fix generator test broken by scaffold change. Closes #8402.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-05-18 23:24:42 +00:00
parent 0f2fd5ab51
commit 9f0057c5ae
1 changed files with 0 additions and 4 deletions

View File

@ -129,9 +129,5 @@ class RailsGeneratorTest < Test::Unit::TestCase
# Default behaviour is use the model name # Default behaviour is use the model name
g = Rails::Generator::Base.instance('scaffold', %w(Product)) g = Rails::Generator::Base.instance('scaffold', %w(Product))
assert_equal "Products", g.controller_name assert_equal "Products", g.controller_name
# When we specify a controller name make sure it sticks!!
g = Rails::Generator::Base.instance('scaffold', %w(Product Admin))
assert_equal "Admin", g.controller_name
end end
end end