diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-11 01:31:42 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-11 02:29:42 +0300 |
commit | c8b802471bcb6ea9ea7af3c7a139598a1f945230 (patch) | |
tree | fb3fe5c094d8a831ede19d4ff2f1471914744907 /spec/lib/gitlab/health_checks | |
parent | 4ef10795ce5e24dc0f905daeb7236fe707a8c195 (diff) |
Enable the RSpec/HookArgument cop and auto-correct offenses
Diffstat (limited to 'spec/lib/gitlab/health_checks')
-rw-r--r-- | spec/lib/gitlab/health_checks/fs_shards_check_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb b/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb index 26574df8bb5..a0e5e401359 100644 --- a/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb +++ b/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb @@ -107,7 +107,7 @@ describe Gitlab::HealthChecks::FsShardsCheck do end # Unsolved intermittent failure in CI https://gitlab.com/gitlab-org/gitlab-ce/issues/31128 - around(:each) do |example| # rubocop:disable RSpec/AroundBlock + around do |example| # rubocop:disable RSpec/AroundBlock times_to_try = ENV['CI'] ? 4 : 1 example.run_with_retry retry: times_to_try end |