Skip to content

Commit

Permalink
Make ActionPack specs work when I18n 0.3.3 is installed as gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jan 4, 2010
1 parent 1012dec commit 319e4aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actionpack/test/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

ActionController::Base.session_store = nil

# Register danish language for testing
I18n.backend.store_translations 'da', {}
I18n.backend.store_translations 'pt-BR', {}
# Register languages for testing
I18n.backend.store_translations 'da', "da" => {}
I18n.backend.store_translations 'pt-BR', "pt-BR" => {}
ORIGINAL_LOCALES = I18n.available_locales.map(&:to_s).sort

FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures')
Expand Down

0 comments on commit 319e4aa

Please sign in to comment.