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
- [rspec-users] How to mock http accept header? Chamnap
- Re: [rspec-users] How to mock http accept header? David Chelimsky
- Re: [rspec-users] How to mock http accept header? Chamnap
- Re: [rspec-users] How to mock http accept hea... Stephen Eley
- Re: [rspec-users] How to mock http accept hea... David Chelimsky
