Just starting out with integration tests here. I am having problems keeping a session between requests, using acts_as_authenticated. Here is a sample from the test: ... login_as :store_user post "/order/checkout" assert_response :success The checkout method is protected with a before_filter :login_required. The user is not being logged in; the filter returns false and the assert fails. If I printline some debug statements in there to inspect the session, I see that the user only exists in the session between the login_as and post methods. The session ID is the same throughout the test, but the "user" key disappears from the session somewhere during the post request. Is there something I''m missing? Thanks, Brad --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---