aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-05-18 23:24:42 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-05-18 23:24:42 +0000
commit9f0057c5ae1b1f26339cf62c1d93bf33ca33360e (patch)
treee642395d64c9ee2f59d0ce2e5f34edfab4e36d8c /railties/test
parent0f2fd5ab517bfab37995eae668c5549eafdcc6ce (diff)
downloadrails-9f0057c5ae1b1f26339cf62c1d93bf33ca33360e.tar.gz
rails-9f0057c5ae1b1f26339cf62c1d93bf33ca33360e.tar.bz2
rails-9f0057c5ae1b1f26339cf62c1d93bf33ca33360e.zip
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
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/rails_generator_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/test/rails_generator_test.rb b/railties/test/rails_generator_test.rb
index 970cf6b3fc..9d8f91abaf 100644
--- a/railties/test/rails_generator_test.rb
+++ b/railties/test/rails_generator_test.rb
@@ -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