mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
Adds a macro for inserting thumbnails in formatted text (#3510).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10013 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -49,6 +49,10 @@ class RoutingAttachmentsTest < ActionController::IntegrationTest
|
||||
{ :method => 'get', :path => "/attachments/thumbnail/1" },
|
||||
{ :controller => 'attachments', :action => 'thumbnail', :id => '1' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/attachments/thumbnail/1/200" },
|
||||
{ :controller => 'attachments', :action => 'thumbnail', :id => '1', :size => '200' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'delete', :path => "/attachments/1" },
|
||||
{ :controller => 'attachments', :action => 'destroy', :id => '1' }
|
||||
|
||||
Reference in New Issue
Block a user