1) FileServer::API GET /api/apps/:app with apk real number code
Failure/Error: get "/api/apps/s"
NoMethodError:
undefined method call' for #<App:0x007f8ac2096830>
# ./spec/api/api_spec.rb:11:in
block (4 levels) in '
我想在 rspec 里面去 测试 grape 的 api,但是他总是报这个错误
我在浏览器里直接可以访问
已经尝试增加
config.include RSpec::Rails::RequestExampleGroup, :type => :request, :example_group => {
:file_path => /spec\/api/
}