Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Controller name pluralized

  • Loading branch information...
commit 6a499cd97ff4ac12b76c435643bfa9b3ba02c1ac 1 parent 3b2a241
@prathamesh-sonpatki prathamesh-sonpatki 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.