Sha256: 13f4bc2202d88a08b0e27f86f78110101f7ffa6fb404260c3231bdb4e045a3bc
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
class TestApp < Rails::Application if config.respond_to?(:load_defaults) config.load_defaults("#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}") end if Rails.version.to_s.first >= '4' config.eager_load = false config.secret_key_base = 'abc123' end config.after_initialize do Rails.application.routes.default_url_options = { host: 'http://example.com' } end # Set up a logger to avoid creating a log directory on every run. config.logger = Logger.new(nil) end TestApp.initialize!
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_model_serializers-0.9.13 | test/test_app.rb |
active_model_serializers-0.9.12 | test/test_app.rb |