diff options
Diffstat (limited to 'spec/models')
-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 |