Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 01b98bcbe6
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.415 kB
require 'bundler/setup'
require 'minitest/autorun'
require 'action_controller'
require 'action_controller/page_caching'
SharedTestRoutes = ActionDispatch::Routing::RouteSet.new
module ActionController
class Base
include SharedTestRoutes.url_helpers
end
class TestCase
def setup
@routes = SharedTestRoutes
@routes.draw do
get ':controller(/:action)'
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.