Revision 23772
Added by Marius BĂLTEANU about 1 month ago
branches/6.0-stable/test/application_system_test_case.rb | ||
---|---|---|
72 | 72 |
# Should not depend on locale since Redmine displays login page |
73 | 73 |
# using default browser locale which depend on system locale for "real" browsers drivers |
74 | 74 |
def log_user(login, password) |
75 |
visit '/my/page' |
|
75 | 76 |
assert_current_path '/login', :ignore_query => true |
76 |
assert_equal '/login', current_path |
|
77 | 77 |
within('#login-form form') do |
78 | 78 |
fill_in 'username', :with => login |
79 | 79 |
fill_in 'password', :with => password |
Also available in: Unified diff
Merge r23770 from trunk to 6.0-stable (#42422).