We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b572b4f commit 54e3632Copy full SHA for 54e3632
test/abstract_unit.rb
@@ -6,24 +6,11 @@
6
7
FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures')
8
9
-SharedTestRoutes = ActionDispatch::Routing::RouteSet.new
10
11
module ActionController
12
class Base
13
- include SharedTestRoutes.url_helpers
14
-
15
self.view_paths = FIXTURE_LOAD_PATH
16
end
17
18
- class TestCase
19
- def setup
20
- @routes = SharedTestRoutes
21
22
- @routes.draw do
23
- get ':controller(/:action)'
24
- end
25
26
27
28
29
module RackTestUtils
0 commit comments