ruby-on-rails – 使用Rspec和Rack :: Test測試REST-API響應

我有點悶了我有以下整合測試: require "spec_helper" describe "/foods", :type => :api do i