Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9914 from prathamesh-sonpatki/controller-pluralize

Controller name pluralized
  • Loading branch information...
commit 8caafd9076c565a30bbab16959ba018545e12a00 2 parents 3b2a241 + 6a499cd
@fxn fxn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/assets_test.rb
View
4 railties/test/application/assets_test.rb
@@ -86,8 +86,8 @@ def assert_no_file_exists(filename)
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
Please sign in to comment.
Something went wrong with that request. Please try again.