Sha256: 4125f927abf97da7b7f420d56970c1bf0cab096d47aa57b6a71cc5eaae6d164f
Contents?: true
Size: 329 Bytes
Versions: 6
Compression:
Stored size: 329 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(last_response.body).to eq({ message: 'Hello Wonderful World, from <%= app_name.classify %>!' }.to_json) end end end
Version data entries
6 entries across 6 versions & 1 rubygems