summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-20 14:51:38 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-04-26 16:39:12 +0200
commitb325d4a658bd884d2d10b832032296e9e28bcc24 (patch)
tree3cee11210c8f7a8e534df247e77049719ffbfe50 /lib
parenta9da37434af6d44c5f851affd4bd69b370760e8e (diff)
downloadgitlab-ce-b325d4a658bd884d2d10b832032296e9e28bcc24.tar.gz
Add test that asserts unicorns terminate
Diffstat (limited to 'lib')
-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 2301ec9b228..99b3168d9eb 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 -w3 -z))
+ if system(*%w(brakeman --no-progress --skip-files lib/backup/repository.rb,app/controllers/unicorn_test_controller.rb -w3 -z))
puts 'Security check succeed'
else
puts 'Security check failed'