summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-08-10 19:09:14 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-08-11 10:59:11 -0400
commitd0622b79d8d011c80f63e71c96e69754a5b0ec16 (patch)
tree6e9c387fb1699ba733507341d9009754798392b0 /app
parent69eb4be7ec8d978580c51d4ead157001511d4768 (diff)
downloadgitlab-ce-d0622b79d8d011c80f63e71c96e69754a5b0ec16.tar.gz
Better categorize test coverage resultsrs-coverage-updates
Also marks a few things as uncovered, and removes an unused class.
Diffstat (limited to 'app')
-rw-r--r--app/controllers/unicorn_test_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/unicorn_test_controller.rb b/app/controllers/unicorn_test_controller.rb
index b7a1a046be0..ed04bd1f77d 100644
--- a/app/controllers/unicorn_test_controller.rb
+++ b/app/controllers/unicorn_test_controller.rb
@@ -1,12 +1,14 @@
+# :nocov:
if Rails.env.test?
class UnicornTestController < ActionController::Base
def pid
render plain: Process.pid.to_s
end
-
+
def kill
Process.kill(params[:signal], Process.pid)
render plain: 'Bye!'
end
end
end
+# :nocov: