Skip to content

Commit

Permalink
Fix generator test broken by scaffold change. Closes #8402.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed May 18, 2007
1 parent 0f2fd5a commit 9f0057c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions railties/test/rails_generator_test.rb
Expand Up @@ -129,9 +129,5 @@ def test_scaffold_controller_name
# 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

0 comments on commit 9f0057c

Please sign in to comment.