Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
11
research/chatwoot/spec/controllers/health_controller_spec.rb
Normal file
11
research/chatwoot/spec/controllers/health_controller_spec.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe 'Health Check', type: :request do
|
||||
describe 'GET /health' do
|
||||
it 'returns success status' do
|
||||
get '/health'
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response.parsed_body['status']).to eq('woot')
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user