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:
parent
b81a578eb6
commit
57c38a33e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue