aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index 8a9cd93c2..c8d2dfb34 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -2588,18 +2588,10 @@ describe RequestController, "#new_batch" do
it 'should display a success notice' do
make_request
- notice_text = "<p>Your Freedom of Information requests have been <strong>sent</strong>!</p>"
+ notice_text = "<p>Your Freedom of Information requests will be <strong>sent</strong> shortly!"
flash[:notice].should match notice_text
end
- it 'should display notes about any bodies that could not be included' do
- @other_public_body.request_email = ''
- @other_public_body.save!
- make_request
- error_text = "Unfortunately, we do not have a working address for #{@other_public_body.name}."
- flash[:error].should match error_text
- end
-
end
context "when the user is banned" do