mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 15:33:17 +02:00
Tests that submitted data is present in the sudo form (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14344 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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 => "psmith@somenet.foo",
|
||||
|
||||
Reference in New Issue
Block a user