Hello all, I am making my first experiments with rspec, I wanted to do something like this:
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 get 'index' #don't know how to say the culture is spanish response.should redirect_to(spanish_home_page) end any help? Thanks Gnagno -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users