mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 22:36:02 +01:00
Update tests assertions after r23581 (#42394).
git-svn-id: https://svn.redmine.org/redmine/trunk@23582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,7 +26,7 @@ class RoutingAttachmentsTest < Redmine::RoutingTest
|
||||
should_route 'GET /attachments/1/filename.txt' => 'attachments#show', :id => '1', :filename => 'filename.txt', :format => 'html'
|
||||
|
||||
should_route 'GET /attachments/download/1' => 'attachments#download', :id => '1'
|
||||
should_route 'GET /attachments/download/1/filename.ext' => 'attachments#download', :id => '1', :filename => 'filename.ext'
|
||||
should_route 'GET /attachments/download/1/filename.ext' => 'attachments#download', :id => '1', :filename => 'filename.ext', :format => 'html'
|
||||
|
||||
should_route 'GET /attachments/thumbnail/1' => 'attachments#thumbnail', :id => '1'
|
||||
should_route 'GET /attachments/thumbnail/1/200' => 'attachments#thumbnail', :id => '1', :size => '200'
|
||||
|
||||
Reference in New Issue
Block a user