Alright, thanks for your help guys. I found the problem. I debugged the code and I found the right header "HTTP_ACCEPT" in its request object. Rails uses this header to response back.
Thanks Chamnap _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
