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:
parent
0f2fd5ab51
commit
9f0057c5ae
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue