mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 02:57:57 +00:00 
			
		
		
		
	 743bddc065
			
		
	
	743bddc065
	
	
	
		
			
			- End point to return api version - Move agent bot listener to sync dispatcher - gem update
		
			
				
	
	
		
			12 lines
		
	
	
		
			296 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			296 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| 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])
 | |
|     end
 | |
|   end
 | |
| end
 |