##// END OF EJS Templates
Issue destroy is now DELETE only....
Jean-Philippe Lang -
r8035:4cedb0b62817
parent child
Show More
@@ -53,7 +53,7 class ContextMenusControllerTest < ActionController::TestCase
53 :attributes => { :href => '/issues/move/new?ids%5B%5D=1',
53 :attributes => { :href => '/issues/move/new?ids%5B%5D=1',
54 :class => 'icon-move' }
54 :class => 'icon-move' }
55 assert_tag :tag => 'a', :content => 'Delete',
55 assert_tag :tag => 'a', :content => 'Delete',
56 :attributes => { :href => '/issues/destroy?ids%5B%5D=1',
56 :attributes => { :href => '/issues?ids%5B%5D=1',
57 :class => 'icon-del' }
57 :class => 'icon-del' }
58 end
58 end
59
59
@@ -94,7 +94,7 class ContextMenusControllerTest < ActionController::TestCase
94 :attributes => { :href => "/issues/move/new?#{ids}",
94 :attributes => { :href => "/issues/move/new?#{ids}",
95 :class => 'icon-move' }
95 :class => 'icon-move' }
96 assert_tag :tag => 'a', :content => 'Delete',
96 assert_tag :tag => 'a', :content => 'Delete',
97 :attributes => { :href => "/issues/destroy?#{ids}",
97 :attributes => { :href => "/issues?#{ids}",
98 :class => 'icon-del' }
98 :class => 'icon-del' }
99 end
99 end
100
100
@@ -120,7 +120,7 class ContextMenusControllerTest < ActionController::TestCase
120 :attributes => { :href => "/issues/bulk_edit?#{ids}&amp;issue%5Bassigned_to_id%5D=2",
120 :attributes => { :href => "/issues/bulk_edit?#{ids}&amp;issue%5Bassigned_to_id%5D=2",
121 :class => '' }
121 :class => '' }
122 assert_tag :tag => 'a', :content => 'Delete',
122 assert_tag :tag => 'a', :content => 'Delete',
123 :attributes => { :href => "/issues/destroy?#{ids}",
123 :attributes => { :href => "/issues?#{ids}",
124 :class => 'icon-del' }
124 :class => 'icon-del' }
125 end
125 end
126
126
General Comments 0
You need to be logged in to leave comments. Login now