Class: Kapnismology::SmokeTestsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Kapnismology::SmokeTestsController
- Defined in:
- app/controllers/kapnismology/smoke_tests_controller.rb
Overview
This is called when the user goes to the /smoke_test URL. This calls all the smoke tests registered in the application and gather the results
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 |
# File 'app/controllers/kapnismology/smoke_tests_controller.rb', line 5 def index response = SmokeTestResponse.new(SmokeTestCollection.evaluations(, blacklist)) render json: response.render(request.original_url), status: response.status end |