Hello muchira, Are you using devise gem for login ?
On Thu, Dec 4, 2014 at 12:22 PM, bertly_the_coder <[email protected]> wrote: > Hi Guys, > > I'm writing some controller tests in rspec and one of them needs a session > to be set. Does anyone know how to set a session in rails tests? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/a4281a9d-e8ae-46f2-9d0f-ee2f04109eb6%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/a4281a9d-e8ae-46f2-9d0f-ee2f04109eb6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- ---------------------------------------------------------------------------------------------------- Thank You. Best Wishes, BalaRaju Vankala, 8886565300. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAGQ0aidoW6xKedcbsr0XRKOV5JBhM3O5KPDCYLhxmW6HUc%2BuBA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

