I found myself wanting to test some custom behavior that runs when the user’s
session times out. Instead of sleep User.timeout_in
, here’s the solution we
are using to simulate a user timeout:
1 2 3 4 |
|
I found myself wanting to test some custom behavior that runs when the user’s
session times out. Instead of sleep User.timeout_in
, here’s the solution we
are using to simulate a user timeout:
1 2 3 4 |
|