Skip to content

Commit

Permalink
Avoid I18n deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Mar 25, 2014
1 parent faa7676 commit c6bab17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ class Tableless

include ActiveModel::Validations::Callbacks
end

# Avoid annoying deprecation warning
I18n.enforce_available_locales = true

0 comments on commit c6bab17

Please sign in to comment.