Commit b0500ac7 authored by jplang's avatar jplang

Tests that submitted data is present in the sudo form (#19851).

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c927eae5
......@@ -19,6 +19,9 @@ class SudoTest < Redmine::IntegrationTest
assert_response :success
assert_nil User.find_by_login("psmith")
assert_select 'input[name=?][value=?]', 'user[login]', 'psmith'
assert_select 'input[name=?][value=?]', 'user[firstname]', 'Paul'
post "/users",
:user => { :login => "psmith", :firstname => "Paul",
:lastname => "Smith", :mail => "",
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment