diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-20 14:51:38 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-26 16:39:12 +0200 |
commit | b325d4a658bd884d2d10b832032296e9e28bcc24 (patch) | |
tree | 3cee11210c8f7a8e534df247e77049719ffbfe50 /lib | |
parent | a9da37434af6d44c5f851affd4bd69b370760e8e (diff) | |
download | gitlab-ce-b325d4a658bd884d2d10b832032296e9e28bcc24.tar.gz |
Add test that asserts unicorns terminate
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/brakeman.rake | 2 |
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' |