[rspec-users] spec with user culture
lists at ruby-forum.com
Tue Dec 22 06:26:23 EST 2009
I am making my first experiments with rspec, I wanted to do something
when a user visit the home page of my site he will be redirected
depending on his culture, so if his culture is english he will be
redirected to myapp/en if he is italian to myapp/it and so on....
how can I say this with rspec?
I was trying something like:
it "should redirect to spanish home page" do
#don't know how to say the culture is spanish
Posted via http://www.ruby-forum.com/.
More information about the rspec-users