Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
13
research/chatwoot/spec/controllers/api_controller_spec.rb
Normal file
13
research/chatwoot/spec/controllers/api_controller_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe 'API Base', type: :request do
|
||||
describe 'request to api base url' do
|
||||
it 'returns api version' do
|
||||
get '/api/'
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response.body).to include(Chatwoot.config[:version])
|
||||
expect(response.body).to include('queue_services')
|
||||
expect(response.body).to include('data_services')
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user