Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

load the i18n yaml at the test file level not the setup

  • Loading branch information...
commit 92527dfffa6b950088f753ed2a05b846a1cfed2a 1 parent e8c9cd8
@rsl authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  test/localization/da_test.rb
  2. +1 −1  test/localization/en_test.rb
View
2  test/localization/da_test.rb
@@ -3,13 +3,13 @@
require 'test_helper'
require 'i18n'
require 'stringex'
+Stringex::Localization.load_i18n_yaml :da
class DanishYAMLLocalizationTest < Test::Unit::TestCase
def setup
Stringex::Localization.reset!
Stringex::Localization.backend = :i18n
I18n.locale = :da
- Stringex::Localization.load_i18n_yaml :da
end
{
View
2  test/localization/en_test.rb
@@ -3,13 +3,13 @@
require 'test_helper'
require 'i18n'
require 'stringex'
+Stringex::Localization.load_i18n_yaml :en
class EnglishYAMLLocalizationTest < Test::Unit::TestCase
def setup
Stringex::Localization.reset!
Stringex::Localization.backend = :i18n
I18n.locale = :en
- Stringex::Localization.load_i18n_yaml :en
end
{
Please sign in to comment.
Something went wrong with that request. Please try again.