I tried several hours to mock. What I want is basically to send "http
accept" let's say "application/json" and want rails to send data back
in json. Therefore, i need to mock that headers to do a test. I think
I mocked that header already, but rails still sends me back in xml.
Anyone could help me?
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to