You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write a test along the lines recommended in the Rails docs:
test"connects with cookies"douser=User.createremember_token: 42cookies.signed[:remember_token]="42"connectassert_equaluser.id,connection.current_user.idend
However the remember token cookie doesn't seem to get set. I also tried cookies[:remember_token] = "42".
I'd greatly appreciate any advice for how to get this working. Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I am trying to write a test for an ActionCable connection. My connection class looks like this:
I am trying to write a test along the lines recommended in the Rails docs:
However the remember token cookie doesn't seem to get set. I also tried
cookies[:remember_token] = "42"
.I'd greatly appreciate any advice for how to get this working. Thanks!
The text was updated successfully, but these errors were encountered: