From 288c014aa7aa608751dbafeb2c8b358f2fec5c22 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 29 Nov 2014 13:41:53 +0000 Subject: Edit attachments after upload (#1326). git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing/attachments_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/integration/routing/attachments_test.rb') diff --git a/test/integration/routing/attachments_test.rb b/test/integration/routing/attachments_test.rb index d6d278001..9727f9ee3 100644 --- a/test/integration/routing/attachments_test.rb +++ b/test/integration/routing/attachments_test.rb @@ -29,5 +29,8 @@ class RoutingAttachmentsTest < Redmine::RoutingTest should_route 'GET /attachments/thumbnail/1/200' => 'attachments#thumbnail', :id => '1', :size => '200' should_route 'DELETE /attachments/1' => 'attachments#destroy', :id => '1' + + should_route 'GET /attachments/issues/1/edit' => 'attachments#edit', :object_type => 'issues', :object_id => '1' + should_route 'PATCH /attachments/issues/1' => 'attachments#update', :object_type => 'issues', :object_id => '1' end end -- cgit v1.2.3