diff options
Diffstat (limited to 'spec/lib/gitlab/process_management_spec.rb')
-rw-r--r-- | spec/lib/gitlab/process_management_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/process_management_spec.rb b/spec/lib/gitlab/process_management_spec.rb index fbd39702efb..709e4611954 100644 --- a/spec/lib/gitlab/process_management_spec.rb +++ b/spec/lib/gitlab/process_management_spec.rb @@ -8,7 +8,7 @@ RSpec.describe Gitlab::ProcessManagement do expect(described_class).to receive(:trap).ordered.with(:INT) expect(described_class).to receive(:trap).ordered.with(:HUP) - described_class.trap_signals(%i(INT HUP)) + described_class.trap_signals(%i[INT HUP]) end end @@ -17,7 +17,7 @@ RSpec.describe Gitlab::ProcessManagement do expect(described_class).to receive(:trap).ordered.with(:INT, 'DEFAULT') expect(described_class).to receive(:trap).ordered.with(:HUP, 'DEFAULT') - described_class.modify_signals(%i(INT HUP), 'DEFAULT') + described_class.modify_signals(%i[INT HUP], 'DEFAULT') end end |