diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-07-12 14:03:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 14:03:52 -0400 |
commit | 0d864e7eff47ae740b9ea463b46453963ef264cd (patch) | |
tree | 3f15667a42e6422d67ec183405263ea50a0b5e68 /actionpack/test | |
parent | 16f435f9313daa9e00dad25e2bcf95e30ad736ed (diff) | |
parent | 6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6 (diff) | |
download | rails-0d864e7eff47ae740b9ea463b46453963ef264cd.tar.gz rails-0d864e7eff47ae740b9ea463b46453963ef264cd.tar.bz2 rails-0d864e7eff47ae740b9ea463b46453963ef264cd.zip |
Merge pull request #33350 from kamipo/address_blank_lines_automatically
Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/controller/routing_test.rb | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb index 30bea64c55..3688fdbeee 100644 --- a/actionpack/test/controller/resources_test.rb +++ b/actionpack/test/controller/resources_test.rb @@ -66,7 +66,6 @@ class ResourcesTest < ActionController::TestCase member_methods.each_key do |action| assert_named_route "/messages/1/#{path_names[action] || action}", "#{action}_message_path", action: action, id: "1" end - end end end diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb index 9d0a8b4f00..a7033b2d30 100644 --- a/actionpack/test/controller/routing_test.rb +++ b/actionpack/test/controller/routing_test.rb @@ -937,7 +937,6 @@ class RouteSetTest < ActiveSupport::TestCase @default_route_set ||= begin set = ActionDispatch::Routing::RouteSet.new set.draw do - ActiveSupport::Deprecation.silence do get "/:controller(/:action(/:id))" end @@ -1342,11 +1341,9 @@ class RouteSetTest < ActiveSupport::TestCase def test_namespace set.draw do - namespace "api" do get "inventory" => "products#inventory" end - end params = request_path_params("/api/inventory", method: :get) |