@@ -19,6 +19,9 class SudoTest < Redmine::IntegrationTest | |||||
19 | assert_response :success |
|
19 | assert_response :success | |
20 | assert_nil User.find_by_login("psmith") |
|
20 | assert_nil User.find_by_login("psmith") | |
21 |
|
21 | |||
|
22 | assert_select 'input[name=?][value=?]', 'user[login]', 'psmith' | |||
|
23 | assert_select 'input[name=?][value=?]', 'user[firstname]', 'Paul' | |||
|
24 | ||||
22 | post "/users", |
|
25 | post "/users", | |
23 | :user => { :login => "psmith", :firstname => "Paul", |
|
26 | :user => { :login => "psmith", :firstname => "Paul", | |
24 | :lastname => "Smith", :mail => "psmith@somenet.foo", |
|
27 | :lastname => "Smith", :mail => "psmith@somenet.foo", |
General Comments 0
You need to be logged in to leave comments.
Login now