diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-19 10:24:40 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-19 10:24:40 +0000 |
commit | d4a798bfcaf288125b02e7ad9292048070f635dd (patch) | |
tree | 1453cd457359813e7890fd7577f194e84a36793b /spec/controllers/public_body_controller_spec.rb | |
parent | 68fc88b88298199190b6bfd4f8d97ab2d2fb62a2 (diff) |
Add a helper method for temporarily setting I18n.default_locale
Although the I18n library has an I18n.with_locale helper, there's
no equivalent for I18n.default_locale. This method will make a
couple of our tests clearer and less brittle.
Diffstat (limited to 'spec/controllers/public_body_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions