Sha256: 91834272eed23d4483086e19fef01166d4fb55e0dee0d697627544ffbf088497
Contents?: true
Size: 335 Bytes
Versions: 26
Compression:
Stored size: 335 Bytes
Contents
require 'spec_helper' def app SlackRubyBotServer::Api::Middleware.instance end describe 'API' do include Rack::Test::Methods it 'root' do get '/api' expect(last_response.status).to eq 200 links = JSON.parse(last_response.body)['_links'] expect(links.keys.sort).to eq(%w[self status team teams].sort) end end
Version data entries
26 entries across 13 versions & 1 rubygems