diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-25 14:40:31 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-25 14:40:31 +0530 |
commit | 6a499cd97ff4ac12b76c435643bfa9b3ba02c1ac (patch) | |
tree | 56b74611c01d7c069d907605282eb454c227d9e8 /railties/test | |
parent | 3b2a2419469d7116d30f46fa801abe1b29d7dc24 (diff) | |
download | rails-6a499cd97ff4ac12b76c435643bfa9b3ba02c1ac.tar.gz rails-6a499cd97ff4ac12b76c435643bfa9b3ba02c1ac.tar.bz2 rails-6a499cd97ff4ac12b76c435643bfa9b3ba02c1ac.zip |
Controller name pluralized
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/assets_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 638df8ca23..e0cbe73fc4 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -86,8 +86,8 @@ module ApplicationTests def test_precompile_does_not_hit_the_database app_file "app/assets/javascripts/application.js", "alert();" app_file "app/assets/javascripts/foo/application.js", "alert();" - app_file "app/controllers/user_controller.rb", <<-eoruby - class UserController < ApplicationController; end + app_file "app/controllers/users_controller.rb", <<-eoruby + class UsersController < ApplicationController; end eoruby app_file "app/models/user.rb", <<-eoruby class User < ActiveRecord::Base; end |