mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Delete concerns_executes_block_in_context_of_current_mapper test
This commit is contained in:
parent
91f80a899f
commit
e8076efd80
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue