GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit ec7407bf authored by jplang's avatar jplang

Adds assertions on the confirmation form.

git-svn-id: https://svn.redmine.org/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 72a30976
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment