# Initializes the rails application used for
# testing.

# Do not output schema loading
ActiveRecord::Migration.verbose = false

module Devise
  module TokenAuthenticatable
    class RailsApp < Rails::Application
      config.root                               = File.dirname(__FILE__) + "/rails_app"
      config.active_support.deprecation         = :log
      config.action_mailer.default_url_options  = { :host => "localhost:3000" }
      config.action_mailer.delivery_method      = :test
      config.eager_load                         = false
    end
  end
end

Devise::TokenAuthenticatable::RailsApp.initialize!

# Initializes the rails application used for
# testing.

# Do not output schema loading
ActiveRecord::Migration.verbose = false

module Devise
  module TokenAuthenticatable
    class RailsApp < Rails::Application
      config.root                               = File.dirname(__FILE__) + "/rails_app"
      config.active_support.deprecation         = :log
      config.action_mailer.default_url_options  = { :host => "localhost:3000" }
      config.action_mailer.delivery_method      = :test
      config.i18n.enforce_available_locales     = false
      config.eager_load                         = false
    end
  end
end

Devise::TokenAuthenticatable::RailsApp.initialize!

Set a config option that caused deprecation warnings in specs with the current rails and i18n stack.
Set a config option that caused deprecation warnings in specs with the current rails and i18n stack.
