diff options
author | David Cabo <david@calibea.com> | 2011-10-13 00:29:51 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-10-13 00:29:51 +0200 |
commit | c8983b923e4dc7db9ba22156daaddd94d2b5ed4d (patch) | |
tree | 7741c3655fe5e3cbc90dd20a4626ac7acc1bf6b0 /spec/controllers/admin_request_controller_spec.rb | |
parent | a29b3aaf0ae77af49d38813b62dddcb6889c1ebe (diff) | |
parent | e13127a8ebc8bf8379d92f778af5a2bb6931d80c (diff) |
Merge branch 'release/0.4'0.4
Diffstat (limited to 'spec/controllers/admin_request_controller_spec.rb')
-rw-r--r-- | spec/controllers/admin_request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin_request_controller_spec.rb b/spec/controllers/admin_request_controller_spec.rb index 423c2fb49..6f9af0525 100644 --- a/spec/controllers/admin_request_controller_spec.rb +++ b/spec/controllers/admin_request_controller_spec.rb @@ -71,7 +71,7 @@ describe AdminRequestController, "when administering the holding pen" do post :redeliver_incoming, :redeliver_incoming_message_id => new_im.id, :url_title => ir.url_title ir = InfoRequest.find_by_url_title(ir.url_title) ir.incoming_messages.length.should == 2 - response.should redirect_to('http://test.host/admin/request/show/101') + response.should redirect_to(:controller=>'admin_request', :action=>'show', :id=>101) InfoRequest.holding_pen_request.incoming_messages.length.should == 0 end |