Sha256: 2bb467cb0cfc82a9b6a1420d958c00570ba6fcd30526e00cb79e0a15d1b92ca8
Contents?: true
Size: 528 Bytes
Versions: 12
Compression:
Stored size: 528 Bytes
Contents
# :nodoc: the routes used in all tests class ActionController::TestCase def setup_routes @routes = ActionController::Routing::RouteSet.new @routes.draw do resource :cookie, :controller => 'cookie' resource :facebook, :controller => 'facebook' # NOTE: this route should be kept in sync with the session template. resource :session, :controller => 'session' root :to => 'session#index' end ApplicationController.send :include, @routes.url_helpers end setup :setup_routes end
Version data entries
12 entries across 12 versions & 1 rubygems