diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb index 7b9d7a9..3491c78 100644 --- a/app/views/issues/destroy.html.erb +++ b/app/views/issues/destroy.html.erb @@ -1,6 +1,6 @@
<%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %>
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 22ee547..a083084 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2491,6 +2491,8 @@ class IssuesControllerTest < ActionController::TestCase 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