Class: Kapnismology::SmokeTestsController

Inherits:
ApplicationController show all
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

Constant Summary collapse

PROFILE_URL =
'http://tbd.mdsol.com'.freeze

Instance Method Summary collapse

Instance Method Details

#indexObject



7
8
9
10
# File 'app/controllers/kapnismology/smoke_tests_controller.rb', line 7

def index
  evaluations = SmokeTestCollection.evaluations(allowed_tags, blacklist)
  render json: results(evaluations).to_json, status: status(evaluations)
end