aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/public_body_controller_spec.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-11-19 10:24:40 +0000
committerMark Longair <mhl@pobox.com>2013-11-19 10:24:40 +0000
commitd4a798bfcaf288125b02e7ad9292048070f635dd (patch)
tree1453cd457359813e7890fd7577f194e84a36793b /spec/controllers/public_body_controller_spec.rb
parent68fc88b88298199190b6bfd4f8d97ab2d2fb62a2 (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