Sha256: ad0a99c80539fbcb818442c04a53764d15262a30c0699f140112fbf5a5a82dff
Contents?: true
Size: 420 Bytes
Versions: 18
Compression:
Stored size: 420 Bytes
Contents
# see https://github.com/ruby-grape/grape/issues/1348 require 'spec_helper' 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
18 entries across 18 versions & 2 rubygems