Sha256: fb4b7a38405140811a5de1bd3da06d594a33f3c90c7a935ce4c0c73141bff74e
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
require 'spec_helper' def app HelloService::API end describe HelloService::API do include Rack::Test::Methods describe 'GET /hello' do it 'returns a hello world message' do get '/hello' expect(last_response.body).to eq({message: "Hello Wonderful World!"}.to_json) end end end
Version data entries
3 entries across 3 versions & 1 rubygems