diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-14 17:30:54 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-14 17:30:54 +0900 |
commit | 245c1dafa8bab409fbcd780a996c619240df7143 (patch) | |
tree | 9870d3018fcc16f9d78e76cb40c0a1af4ab4ca55 /actionpack/test/controller | |
parent | 65e994c063fdc42265712854598649ec7607faec (diff) | |
download | rails-245c1dafa8bab409fbcd780a996c619240df7143.tar.gz rails-245c1dafa8bab409fbcd780a996c619240df7143.tar.bz2 rails-245c1dafa8bab409fbcd780a996c619240df7143.zip |
Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the future
Follow up of #31432.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/url_for_integration_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/controller/url_rewriter_test.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/controller/url_for_integration_test.rb b/actionpack/test/controller/url_for_integration_test.rb index a7c7356921..a1521da702 100644 --- a/actionpack/test/controller/url_for_integration_test.rb +++ b/actionpack/test/controller/url_for_integration_test.rb @@ -35,7 +35,6 @@ module ActionPack as: "blog" resources :people - #match 'legacy/people' => "people#index", :legacy => "true" get "symbols", controller: :symbols, action: :show, name: :as_symbol get "id_default(/:id)" => "foo#id_default", :id => 1 diff --git a/actionpack/test/controller/url_rewriter_test.rb b/actionpack/test/controller/url_rewriter_test.rb index 0f79c83b6d..ca83b850d5 100644 --- a/actionpack/test/controller/url_rewriter_test.rb +++ b/actionpack/test/controller/url_rewriter_test.rb @@ -19,7 +19,7 @@ class UrlRewriterTests < ActionController::TestCase def setup @params = {} - @rewriter = Rewriter.new(@request) #.new(@request, @params) + @rewriter = Rewriter.new(@request) @routes = ActionDispatch::Routing::RouteSet.new.tap do |r| r.draw do ActiveSupport::Deprecation.silence do |