diff options
author | Rémy Coutable <remy@rymai.me> | 2019-03-27 13:45:00 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-27 15:41:46 +0100 |
commit | ce4b70ce18893f7c2bdf6a52ce66dc5197eae40d (patch) | |
tree | df7652a1b91fb6bc0d7f53b3faf0d92c995b10cf /spec/spec_helper.rb | |
parent | 1983d05ccd6f7484ed1634d744ac0f414c4967ff (diff) | |
download | gitlab-ce-ce4b70ce18893f7c2bdf6a52ce66dc5197eae40d.tar.gz |
Factorize policy helpers into PolicyHelpers
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e8d7b18bf04..b3bd453ebd6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -96,6 +96,7 @@ RSpec.configure do |config| config.include MigrationsHelpers, :migration config.include RedisHelpers config.include Rails.application.routes.url_helpers, type: :routing + config.include PolicyHelpers, type: :policy if ENV['CI'] # This includes the first try, i.e. tests will be run 4 times before failing. |