Skip to content

Commit

Permalink
doc fix. Use sess.path within open_session. Closes rails#13490. […
Browse files Browse the repository at this point in the history
…ci skip]
  • Loading branch information
senny committed Dec 27, 2013
1 parent eff8196 commit aabfba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aabfba7

Please sign in to comment.