Sha256: b4934235353865c429e0a586ad72ab7897a554a0e72512ca590e114820a41eea

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

require 'rails'
require 'action_controller/railtie'
require 'rspec/rails'
require 'contexts'

module Dummy
  class Application < Rails::Application
    config.secret_key_base = 'dummy_key'
    config.session_store :cookie_store, key: '_dummy_session'
    config.eager_load = false

    config.i18n.available_locales = [ :en, :ru ]
    config.i18n.default_locale = :en
  end
end

Rails.application.initialize!

require 'dummy/app/contexts/language_context'
require 'dummy/app/contexts/city_context'
require 'dummy/app/controllers/application_controller'
require 'dummy/app/controllers/context_preload_controller'
require 'dummy/routes'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contexts-1.1.0 spec/dummy_app.rb