diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-16 15:39:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-16 15:39:11 +0000 |
commit | 57c38a33e5715be8d08cff8b0f0fc8464c39de29 (patch) | |
tree | afc72981665a2b88accd17d8b26158ebd8b6a988 /test | |
parent | b81a578eb63bf49b0eecc69bdd1094d02540008a (diff) | |
download | redmine-57c38a33e5715be8d08cff8b0f0fc8464c39de29.tar.gz redmine-57c38a33e5715be8d08cff8b0f0fc8464c39de29.zip |
Adds assertions on the confirmation form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/wiki_controller_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |