@@ -618,6 +618,11 class WikiControllerTest < ActionController::TestCase | |||
|
618 | 618 | end |
|
619 | 619 | assert_response :success |
|
620 | 620 | assert_template 'destroy' |
|
621 | assert_select 'form' do | |
|
622 | assert_select 'input[name=todo][value=nullify]' | |
|
623 | assert_select 'input[name=todo][value=destroy]' | |
|
624 | assert_select 'input[name=todo][value=reassign]' | |
|
625 | end | |
|
621 | 626 | end |
|
622 | 627 | |
|
623 | 628 | def test_destroy_parent_with_nullify_should_delete_parent_only |
General Comments 0
You need to be logged in to leave comments.
Login now