阅读背景:

使用Rspec,如何在Rails 3.0.11中测试控制器的JSON格式?

来源:互联网 

I've scoured the web, but, alas, I just can't seem to get Rspec to correctly send content-type so I can test my JSON API. I'm using the RABL gem for templates, Rails 3.0.11, and Ruby 1.9.2-p180.I've scoured the web, but, alas, I just can't s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: