diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-09-28 14:27:06 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-09-28 14:27:06 +0100 |
commit | fe1ddf9c737bb9051d8ccab2af6b81f607fe877d (patch) | |
tree | 71f5dc0a18a097aaf934198666628bff607c3760 | |
parent | 513fb4bcafb51f2c1df3d7391aa90a496a02cae5 (diff) |
Stub new method introduced by 7a9593a
-rw-r--r-- | spec/views/public_body/show.rhtml_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/public_body/show.rhtml_spec.rb b/spec/views/public_body/show.rhtml_spec.rb index 1d21f80c4..a42516d72 100644 --- a/spec/views/public_body/show.rhtml_spec.rb +++ b/spec/views/public_body/show.rhtml_spec.rb @@ -12,6 +12,7 @@ describe "when viewing a body" do :info_requests => [1, 2, 3, 4], # out of sync with Xapian :publication_scheme => '', :calculated_home_page => '') + @pb.stub!(:override_request_email).and_return(nil) @pb.stub!(:is_requestable?).and_return(true) @pb.stub!(:has_notes?).and_return(false) @pb.stub!(:has_tag?).and_return(false) |