mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
doc fix. Use sess.path
within open_session
. Closes #13490. [ci skip]
This commit is contained in:
parent
eff8196190
commit
aabfba7aa0
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ class UserFlowsTest < ActionDispatch::IntegrationTest
|
|||
u = users(user)
|
||||
sess.https!
|
||||
sess.post "/login", username: u.username, password: u.password
|
||||
assert_equal '/welcome', path
|
||||
assert_equal '/welcome', sess.path
|
||||
sess.https!(false)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue