Sha256: 4e5f42210cc7ba994872704156338edb183bed13b565fca448c0040cc6181051
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true # see https://github.com/ruby-grape/grape/issues/1348 def namespace raise end describe Grape::API do subject do Class.new(Grape::API) do format :json get do { ok: true } end end end def app subject end context 'with a global namespace function' do it 'works' do get '/' expect(last_response.status).to eq 200 end end end
Version data entries
3 entries across 3 versions & 1 rubygems