Hello,

In my integration test, I want to simulate the user cookie is set. I store 
an authentication token as a stored cookie.
So in my test. I write:


cookies.signed[:authentication_token] = user.authentication_token


Unforunately, it sends me a Undefined method `signed' for 
#<Rack::Test::CookieJar> error.
What should I do?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/eN-jOiZIQLcJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to