diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-20 15:17:27 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-20 15:17:27 +0000 |
commit | 61eb3a3ac95efbeae60b977cc1a3b4f9d3cc752d (patch) | |
tree | 54ed62e83ffb537a79883348ce891d199219a4b9 /spec/controllers/admin_user_controller_spec.rb | |
parent | bcb7d7434e804a118787bce1365c4bc28f6a1784 (diff) |
Remove assumption
I feel uncomfortable about the assumption that FastGettext.default_available_locales
is always equal to I18n.available_locales. Even if that’s true now, it might not
always be -- and if a bug causes them to become erroneously different, the previous
code would have masked that.
Diffstat (limited to 'spec/controllers/admin_user_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions