[rspec-users] spec with user culture
lists at ruby-forum.com
Tue Dec 22 09:25:12 EST 2009
Tom Stuart wrote:
> How does the application detect the user's "culture"?
Thanks for your reply Tom,
in my home controller I have a line like this for each language:
redirect_to localized_home_page_path :culture => 'es' and return if
as I said before I am just 'experimenting and playing' so any suggestion
is accepted :)
maybe I should access to the request object from my spec code?
Posted via http://www.ruby-forum.com/.
More information about the rspec-users