Коммит 7b0baa83 создал по автору Bob Van Landuyt's avatar Bob Van Landuyt
Просмотр файлов

Merge branch 'tchu-refactor-datamigrationservicespec' into 'master'

Small refactor to remove rubocop disable

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119980



Merged-by: default avatarBob Van Landuyt <bob@gitlab.com>
Approved-by: default avatarBob Van Landuyt <bob@gitlab.com>
Co-authored-by: default avatarTerri Chu <tchu@gitlab.com>
владельцы b373dd95 b6b2464b
...@@ -233,7 +233,8 @@ ...@@ -233,7 +233,8 @@
end end
after do after do
Elastic::DataMigrationService.mark_all_as_completed! # rubocop: disable RSpec/DescribedClass # reset migration index to prevent flakiness
described_class.mark_all_as_completed!
end end
it 'returns true' do it 'returns true' do
...@@ -258,7 +259,8 @@ ...@@ -258,7 +259,8 @@
end end
after do after do
Elastic::DataMigrationService.mark_all_as_completed! # rubocop: disable RSpec/DescribedClass # reset migration index to prevent flakiness
described_class.mark_all_as_completed!
end end
it 'returns only pending migrations' do it 'returns only pending migrations' do
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать