Sha256: 38b16289e463fefc3e2755eccd7213be53456b0935ff4ebdbf0ed60c0c8da0b6

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

module ActionDispatch
  class IntegrationTest
    include Minitest::Utils::UrlHelpers

    setup do
      Rails.application.routes.default_url_options[:locale] = I18n.locale
    end
  end
end

module ActionController
  class TestCase
    include Minitest::Utils::UrlHelpers

    setup do
      Rails.application.routes.default_url_options[:locale] = I18n.locale
    end
  end
end

module ActionMailer
  class TestCase
    include Minitest::Utils::UrlHelpers

    setup do
      Rails.application.routes.default_url_options[:locale] = I18n.locale
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
minitest-utils-0.3.0 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.9 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.8 lib/minitest/utils/rails/locale.rb
minitest-utils-0.2.7 lib/minitest/utils/rails/locale.rb