diff options
author | David Cabo <david@calibea.com> | 2011-08-12 13:12:50 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-12 13:12:50 +0200 |
commit | df1754847892bb6abce2681a42d8c50cf8d3a2da (patch) | |
tree | 73c518103906ad446cedd55c69690d8d91f0f362 /spec/controllers/public_body_controller_spec.rb | |
parent | a63e598b9e0ddfa7ac695b1be41aaace6c0eb628 (diff) | |
parent | 766df1c7de8f820bd6e451526787632a136bc635 (diff) |
Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeu
Conflicts:
locale/cy/app.po
locale/de/app.po
locale/es/app.po
locale/fr/app.po
locale/sq/app.po
locale/sr/app.po
locale/sr@latin/app.po
Diffstat (limited to 'spec/controllers/public_body_controller_spec.rb')
-rw-r--r-- | spec/controllers/public_body_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/public_body_controller_spec.rb b/spec/controllers/public_body_controller_spec.rb index f157d4ac4..dd5fbb8bd 100644 --- a/spec/controllers/public_body_controller_spec.rb +++ b/spec/controllers/public_body_controller_spec.rb @@ -72,13 +72,13 @@ describe PublicBodyController, "when listing bodies" do end it "should list bodies in alphabetical order with different locale" do - I18n.locale = :es + I18n.default_locale = :es get :list response.should render_template('list') assigns[:public_bodies].should == [ public_bodies(:geraldine_public_body), public_bodies(:humpadink_public_body) ] assigns[:tag].should == "all" assigns[:description].should == "all" - I18n.locale = :en + I18n.default_locale = :en end it "should list a tagged thing on the appropriate list page, and others on the other page, and all still on the all page" do |