mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			327 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			327 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
require 'rails_helper'
 | 
						|
 | 
						|
describe '/swagger', type: :request do
 | 
						|
  describe 'GET /swagger' do
 | 
						|
    it 'renders swagger index.html' do
 | 
						|
      get '/swagger'
 | 
						|
      expect(response).to have_http_status(:success)
 | 
						|
      expect(response.body).to include('redoc')
 | 
						|
      expect(response.body).to include('/swagger.json')
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |