diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-01-23 14:41:28 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2015-02-20 11:59:04 +0000 |
commit | 83033a21d0087088beb849c6e6b224eb1a550e1e (patch) | |
tree | 00df2d995cf2fa5902afd28eadc711163738b4d2 /spec/models/public_body_spec.rb | |
parent | e086e72f283ba485952daca0b12033188e4a93f9 (diff) |
Use correct method name in error.
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 91340a12c..b304050dc 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -1054,7 +1054,7 @@ describe PublicBody do end it 'should raise an error if the body is not defunct, FOI applies and has an email address' do - expected_error = "requestable_failure_reason called with type that has no reason" + expected_error = "not_requestable_reason called with type that has no reason" lambda{ @body.not_requestable_reason }.should raise_error(expected_error) end |