Hi!
Has anyone else run into the issue of the params hash not being reset
between subsequent post requests within the same test method/block? I
tracked the issue down to the TestRequest#recycle! method no longer
doing self.request_parameters = {}. I created a patch that fixes the
issue, see:

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2271-reset-request_params-in-testrequestrecycle#ticket-2271-1

I am not familiar enough with Rack and Rails internals to judge if my
solution is appropriate but it works.

Thanks!

Peter Marklund
http://marklunds.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to