rails/rails — pull request #3336 by avakhov (2011-10-15 09:21:35+00:00)
Title: Set default parameters for functional tests

I use this solution in one my multi languages project. There are a lot of localized routes:

``` ruby
scope '/:locale', :locale => /en|ru|de/ do
resources ... # a lot of resources
end
```

Without default parameters it's too noisy add :locale in each request in functional tests.

I would be very much obliged for your help.