Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-11-22 20:46:40 +0300
committerNick Thomas <nick@gitlab.com>2017-11-22 22:51:57 +0300
commit11d0787961b33efdbfdad9bf0bbc48afecc3cc53 (patch)
treee03250eba46094d657083cca9b938b4a6734bf1e /app/controllers
parent743fd67f73875dac071287ef8bb91a2392359ba3 (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.rb14
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: