Sha256: 20485d43e34741fd05e3d8eb0f8a9d7370a66bdbdd4aeee66b26c12c5acbcb0e
Contents?: true
Size: 485 Bytes
Versions: 11
Compression:
Stored size: 485 Bytes
Contents
require 'test_setup' require 'action_controller' require 'action_controller/test_case' TestRoutes = ActionDispatch::Routing::RouteSet.new TestRoutes.draw do get ':controller(/:action)' end class ActionController::Base include IntercomRails::CustomDataHelper after_filter IntercomRails::AutoIncludeFilter include TestRoutes.url_helpers include TestRoutes.mounted_helpers end class ActionController::TestCase def setup super @routes = TestRoutes end end
Version data entries
11 entries across 11 versions & 1 rubygems