Sha256: e046c175c6282dde18d734ed67676a8acc9e5a36089a59e697131626bbc84e86

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

class ActionDispatch::IntegrationTest
  setup do
    Rails.application.routes.default_url_options[:locale] = I18n.locale
    Rails.configuration.action_mailer.default_url_options = Rails.application.routes.default_url_options if defined?(ActionMailer)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
minitest-utils-0.2.6 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.5 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.4 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.3 lib/minitest/utils/rails/locale.rb