diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-11-06 09:13:13 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-18 14:03:49 +0000 |
commit | 7aae38fb8c0469d9db030689d2eb5e31cfaac6af (patch) | |
tree | 45ff6c675a65018b9a97a0f1f9ebe0d17eb87c88 /spec/integration/download_request_spec.rb | |
parent | 49758c23ccca57483413a4df10308e95fb7c8cc4 (diff) |
Move outgoing message admin actions to RESTful model.
Diffstat (limited to 'spec/integration/download_request_spec.rb')
-rw-r--r-- | spec/integration/download_request_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/download_request_spec.rb b/spec/integration/download_request_spec.rb index 648d46a6e..48b42b11d 100644 --- a/spec/integration/download_request_spec.rb +++ b/spec/integration/download_request_spec.rb @@ -104,7 +104,7 @@ describe 'when making a zipfile available' do post_data = {:outgoing_message => {:prominence => 'requester_only', :prominence_reason => 'boring', :body => 'Some information please'}} - admin.put_via_redirect "/en/admin/outgoing/update/#{info_request.outgoing_messages.first.id}", post_data + admin.put_via_redirect "/en/admin/outgoing_messages/#{info_request.outgoing_messages.first.id}", post_data admin.response.should be_success # Admin retains the requester only things @@ -285,7 +285,7 @@ describe 'when making a zipfile available' do post_data = {:outgoing_message => {:prominence => 'requester_only', :prominence_reason => 'boring', :body => 'Some information please'}} - admin.post_via_redirect "/en/admin/outgoing/update/#{info_request.outgoing_messages.first.id}", post_data + admin.put_via_redirect "/en/admin/outgoing_messages/#{info_request.outgoing_messages.first.id}", post_data admin.response.should be_success # Admin retains the requester only things |