diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-11-27 17:44:35 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-12-04 09:32:45 +0000 |
commit | e95b95e78891e2c0e7e0307464637b38ed8b5a4d (patch) | |
tree | 654d19c6b8f2731df6564267c828280a203faf01 /spec/controllers/request_controller_spec.rb | |
parent | e55d7850d36b147275c2f8ffcacccbcf97e0a1d5 (diff) |
Update notices for offline sending.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 10 |
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 |