Enhanced tests for AbstractController::Translation module #9007

Merged
merged 2 commits into from Jan 21, 2013

Projects

None yet

2 participants

@bsingr
Contributor
bsingr commented Jan 20, 2013

I just added a test to verify that the #localize method delegates to I18n.localize.

Additionally I refactored the tests to rely on AbstractController::Testing::TranslationController instead of ActionController::Base.

@rafaelfranca rafaelfranca merged commit e4dbfce into rails:master Jan 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment