<h2><%= l(:label_confirmation) %></h2>
-<% form_tag do %>
+<% form_tag({}, :method => :delete) do %>
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>
<div class="box">
<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
assert_template 'destroy'
assert_not_nil assigns(:hours)
assert Issue.find_by_id(1) && Issue.find_by_id(3)
+ assert_tag 'form',
+ :descendant => {:tag => 'input', :attributes => {:name => '_method', :value => 'delete'}}
end
def test_destroy_issues_and_destroy_time_entries