From 09eeb3fc04aefaab8beee28f2be8d09b01f9541c Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 7 Jul 2014 10:21:57 -0700 Subject: always test against a routed rack app so there are always url_helpers --- actionpack/test/dispatch/routing/concerns_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack/test/dispatch/routing') diff --git a/actionpack/test/dispatch/routing/concerns_test.rb b/actionpack/test/dispatch/routing/concerns_test.rb index 9f37701656..7ef513b0c8 100644 --- a/actionpack/test/dispatch/routing/concerns_test.rb +++ b/actionpack/test/dispatch/routing/concerns_test.rb @@ -36,7 +36,8 @@ class RoutingConcernsTest < ActionDispatch::IntegrationTest end include Routes.url_helpers - def app; Routes end + APP = RoutedRackApp.new Routes + def app; APP end def test_accessing_concern_from_resources get "/posts/1/comments" -- cgit v1.2.3