[rspec-users] spec with user culture

Tom Stuart tom at experthuman.com
Tue Dec 22 06:41:01 EST 2009


On 22 Dec 2009, at 11:26, Gnagno Gnagno wrote:
> it "should redirect to spanish home page" do
>  get 'index'
>  #don't know how to say the culture is spanish
>  response.should redirect_to(spanish_home_page)
> end

How does the application detect the user's "culture"?

Cheers,
-Tom


More information about the rspec-users mailing list