Reword test
This commit is contained in:
parent
a210cb6b82
commit
1807bc1646
|
|
@ -71,7 +71,7 @@ describe Gitlab::BackgroundMigration::PrepareUntrackedUploads, :migration, :side
|
||||||
untracked_files_for_uploads.create(path: '/foo/bar.jpg')
|
untracked_files_for_uploads.create(path: '/foo/bar.jpg')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'clears existing data before adding new data' do
|
it 'does not error or produce duplicates of existing data' do
|
||||||
Sidekiq::Testing.fake! do
|
Sidekiq::Testing.fake! do
|
||||||
expect do
|
expect do
|
||||||
described_class.new.perform
|
described_class.new.perform
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue