summaryrefslogtreecommitdiff
path: root/lib/tasks
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 /lib/tasks
parent743fd67f73875dac071287ef8bb91a2392359ba3 (diff)
downloadgitlab-ce-11d0787961b33efdbfdad9bf0bbc48afecc3cc53.tar.gz
Speed up Unicorn specs by using a dummy Rack application instead of GitLab
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/brakeman.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/brakeman.rake b/lib/tasks/brakeman.rake
index 99b3168d9eb..2301ec9b228 100644
--- a/lib/tasks/brakeman.rake
+++ b/lib/tasks/brakeman.rake
@@ -2,7 +2,7 @@ desc 'Security check via brakeman'
task :brakeman do
# We get 0 warnings at level 'w3' but we would like to reach 'w2'. Merge
# requests are welcome!
- if system(*%w(brakeman --no-progress --skip-files lib/backup/repository.rb,app/controllers/unicorn_test_controller.rb -w3 -z))
+ if system(*%w(brakeman --no-progress --skip-files lib/backup/repository.rb -w3 -z))
puts 'Security check succeed'
else
puts 'Security check failed'