Sha256: d54357c6db0f69befeec17973add518311a99488ebb018aca9e2ea8d4ece2b2f
Contents?: true
Size: 572 Bytes
Versions: 12
Compression:
Stored size: 572 Bytes
Contents
class Foo < Rails::Application if Rails::VERSION::MAJOR >= 4 config.eager_load = false config.secret_key_base = 'abc123' config.action_controller.perform_caching = true config.active_support.test_order = :random config.logger = Logger.new(nil) ActionController::Base.cache_store = :memory_store end end Foo.initialize! module TestHelper Routes = ActionDispatch::Routing::RouteSet.new Routes.draw do get ':controller(/:action(/:id))' get ':controller(/:action)' end ActionController::Base.send :include, Routes.url_helpers end
Version data entries
12 entries across 12 versions & 2 rubygems