diff options
Diffstat (limited to 'spec/lib/gitlab/database/postgres_index_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database/postgres_index_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/database/postgres_index_spec.rb b/spec/lib/gitlab/database/postgres_index_spec.rb index d8a2612caf3..2e654a33a58 100644 --- a/spec/lib/gitlab/database/postgres_index_spec.rb +++ b/spec/lib/gitlab/database/postgres_index_spec.rb @@ -40,7 +40,7 @@ RSpec.describe Gitlab::Database::PostgresIndex do it 'only btree and gist indexes' do types = described_class.reindexing_support.map(&:type).uniq - expect(types & %w(btree gist)).to eq(types) + expect(types & %w[btree gist]).to eq(types) end context 'with leftover indexes' do @@ -71,7 +71,7 @@ RSpec.describe Gitlab::Database::PostgresIndex do end it 'retrieves leftover indexes matching the /_ccnew[0-9]*$/ pattern' do - expect(subject.map(&:name)).to eq(%w(foobar_ccnew foobar_ccnew1)) + expect(subject.map(&:name)).to eq(%w[foobar_ccnew foobar_ccnew1]) end end |