diff options
author | Nick Thomas <nick@gitlab.com> | 2017-11-22 20:46:40 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-11-22 22:51:57 +0300 |
commit | 11d0787961b33efdbfdad9bf0bbc48afecc3cc53 (patch) | |
tree | e03250eba46094d657083cca9b938b4a6734bf1e /app/controllers | |
parent | 743fd67f73875dac071287ef8bb91a2392359ba3 (diff) |
Speed up Unicorn specs by using a dummy Rack application instead of GitLab
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/unicorn_test_controller.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/controllers/unicorn_test_controller.rb b/app/controllers/unicorn_test_controller.rb deleted file mode 100644 index ed04bd1f77d..00000000000 --- a/app/controllers/unicorn_test_controller.rb +++ /dev/null @@ -1,14 +0,0 @@ -# :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: |