summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-11-22 17:46:40 +0000
committerNick Thomas <nick@gitlab.com>2017-11-22 19:51:57 +0000
commit11d0787961b33efdbfdad9bf0bbc48afecc3cc53 (patch)
treee03250eba46094d657083cca9b938b4a6734bf1e /config
parent743fd67f73875dac071287ef8bb91a2392359ba3 (diff)
downloadgitlab-ce-11d0787961b33efdbfdad9bf0bbc48afecc3cc53.tar.gz
Speed up Unicorn specs by using a dummy Rack application instead of GitLab
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
-rw-r--r--config/routes/test.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fc13dc4865f..4f27fea0e92 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -100,7 +100,5 @@ Rails.application.routes.draw do
root to: "root#index"
- draw :test if Rails.env.test?
-
get '*unmatched_route', to: 'application#route_not_found'
end
diff --git a/config/routes/test.rb b/config/routes/test.rb
deleted file mode 100644
index ac477cdbbbc..00000000000
--- a/config/routes/test.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-get '/unicorn_test/pid' => 'unicorn_test#pid'
-post '/unicorn_test/kill' => 'unicorn_test#kill'