Sha256: ef76b280496905bc7a18c4dfc40697f4865cd0b5fdd04a01182ae5015c8cda50
Contents?: true
Size: 324 Bytes
Versions: 8
Compression:
Stored size: 324 Bytes
Contents
require 'spec_helper' def app ApplicationApi end describe HelloApi do include Rack::Test::Methods describe 'GET /hello' do it 'returns a hello world message' do get '/hello' expect(response_body).to eq({ message: 'Hello Wonderful World, from <%= app_name.classify %>!' }.to_json) end end end
Version data entries
8 entries across 8 versions & 2 rubygems