##// END OF EJS Templates
Adds assertions on the confirmation form....
Jean-Philippe Lang -
r10222:57c38a33e571
parent child
Show More
@@ -618,6 +618,11 class WikiControllerTest < ActionController::TestCase
618 end
618 end
619 assert_response :success
619 assert_response :success
620 assert_template 'destroy'
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 end
626 end
622
627
623 def test_destroy_parent_with_nullify_should_delete_parent_only
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