1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -129,9 +129,5 @@ class RailsGeneratorTest < Test::Unit::TestCase
# Default behaviour is use the model name
g = Rails::Generator::Base.instance('scaffold', %w(Product))
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