From e8076efd803790db14da704eb97d2f79ee350b35 Mon Sep 17 00:00:00 2001 From: Nikita Vasilevsky Date: Sun, 6 Feb 2022 14:45:16 +0000 Subject: [PATCH] Delete concerns_executes_block_in_context_of_current_mapper test --- actionpack/test/dispatch/routing/concerns_test.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/actionpack/test/dispatch/routing/concerns_test.rb b/actionpack/test/dispatch/routing/concerns_test.rb index 503a7ccd56..1ff236aee3 100644 --- a/actionpack/test/dispatch/routing/concerns_test.rb +++ b/actionpack/test/dispatch/routing/concerns_test.rb @@ -111,14 +111,4 @@ class RoutingConcernsTest < ActionDispatch::IntegrationTest assert_equal "No concern named foo was found!", e.message end - - def test_concerns_executes_block_in_context_of_current_mapper - mapper = ActionDispatch::Routing::Mapper.new(ActionDispatch::Routing::RouteSet.new) - mapper.concern :test_concern do - resources :things - return self - end - - assert_equal mapper, mapper.concerns(:test_concern) - end end