diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 11:44:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 11:44:25 +0000 |
commit | 4cedb0b628179ac6ecde472e6c22664a6e050599 (patch) | |
tree | 4a08851eaefbbb4e5a275f53b9b755fc81ebbc84 | |
parent | ec50101db1e7e8773c5cfcd110ca8630969deb20 (diff) | |
download | redmine-4cedb0b628179ac6ecde472e6c22664a6e050599.tar.gz redmine-4cedb0b628179ac6ecde472e6c22664a6e050599.zip |
Issue destroy is now DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8155 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/context_menus_controller_test.rb | 6 |
1 files 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 |