From ec7407bf69fee27ee025ea1cd2a083d6d3821db0 Mon Sep 17 00:00:00 2001 From: jplang Date: Sun, 16 Sep 2012 15:39:11 +0000 Subject: [PATCH] Adds assertions on the confirmation form. git-svn-id: https://svn.redmine.org/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/wiki_controller_test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index b210b891f..dceea3971 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -618,6 +618,11 @@ class WikiControllerTest < ActionController::TestCase end assert_response :success assert_template 'destroy' + assert_select 'form' do + assert_select 'input[name=todo][value=nullify]' + assert_select 'input[name=todo][value=destroy]' + assert_select 'input[name=todo][value=reassign]' + end end def test_destroy_parent_with_nullify_should_delete_parent_only -- GitLab