Please sign in to comment.
prevent errors when passing a frozen string as a param to ActionContr…
…oller::TestCase#process since ActionDispatch::Http::Parameters#encode_params will force encoding on all params strings (when using an encoding aware Ruby), dup all strings passed into process. This prevents modification of params passed in and, more importantly, doesn't barf when a frozen string is passed thanks and high fives to kinsteronline
- Loading branch information...
Showing with 15 additions and 1 deletion.