Permalink
Browse files

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

  • Loading branch information...
1 parent e8c9cd8 commit 92527dfffa6b950088f753ed2a05b846a1cfed2a @rsl committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/localization/da_test.rb
  2. +1 −1 test/localization/en_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
{
@@ -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
{

0 comments on commit 92527df

Please sign in to comment.