diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-29 16:32:51 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-07-29 16:32:51 +0100 |
commit | 6b6ada3571d9d05d8b2c6a59b5134e634775f617 (patch) | |
tree | b81a5421bb40de9b603c5a386b5b44a02b1e931b /spec/models/public_body_spec.rb | |
parent | b17910d494ae1a459c83b43e4b668ca4e80fc680 (diff) | |
parent | a73ffdc2a6801961ce2b5c9719651231dd484021 (diff) |
Merge branch 'feature/localisation-fixes' into rails-3-develop
Diffstat (limited to 'spec/models/public_body_spec.rb')
-rw-r--r-- | spec/models/public_body_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index bc693b4da..34a91a2c9 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -464,7 +464,7 @@ end describe PublicBody, " when override all public body request emails set" do it "should return the overridden request email" do - MySociety::Config.should_receive(:get).with("OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS", "").twice.and_return("catch_all_test_email@foo.com") + AlaveteliConfiguration.should_receive(:override_all_public_body_request_emails).twice.and_return("catch_all_test_email@foo.com") @geraldine = public_bodies(:geraldine_public_body) @geraldine.request_email.should == "catch_all_test_email@foo.com" end |