From 4cedb0b628179ac6ecde472e6c22664a6e050599 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Dec 2011 11:44:25 +0000 Subject: [PATCH] Issue destroy is now DELETE only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8155 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/context_menus_controller_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb index 5e5cf4ba3..9d20b1152 100644 --- a/test/functional/context_menus_controller_test.rb +++ b/test/functional/context_menus_controller_test.rb @@ -53,7 +53,7 @@ class ContextMenusControllerTest < ActionController::TestCase :attributes => { :href => '/issues/move/new?ids%5B%5D=1', :class => 'icon-move' } assert_tag :tag => 'a', :content => 'Delete', - :attributes => { :href => '/issues/destroy?ids%5B%5D=1', + :attributes => { :href => '/issues?ids%5B%5D=1', :class => 'icon-del' } end @@ -94,7 +94,7 @@ class ContextMenusControllerTest < ActionController::TestCase :attributes => { :href => "/issues/move/new?#{ids}", :class => 'icon-move' } assert_tag :tag => 'a', :content => 'Delete', - :attributes => { :href => "/issues/destroy?#{ids}", + :attributes => { :href => "/issues?#{ids}", :class => 'icon-del' } end @@ -120,7 +120,7 @@ class ContextMenusControllerTest < ActionController::TestCase :attributes => { :href => "/issues/bulk_edit?#{ids}&issue%5Bassigned_to_id%5D=2", :class => '' } assert_tag :tag => 'a', :content => 'Delete', - :attributes => { :href => "/issues/destroy?#{ids}", + :attributes => { :href => "/issues?#{ids}", :class => 'icon-del' } end