mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
Adds assertions on the confirmation form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user