Welcome to mirror list, hosted at ThFree Co, Russian Federation.

batched_background_migration_dictionary_spec.rb « background_migration « database « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3aa0c194d226f6ee4e62c025d93d1362a45fe53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ::Gitlab::Database::BackgroundMigration::BatchedBackgroundMigrationDictionary, feature_category: :database do
  describe '.entry' do
    it 'returns a single dictionary entry for the given migration job' do
      entry = described_class.entry('MigrateHumanUserType')
      expect(entry.migration_job_name).to eq('MigrateHumanUserType')
      expect(entry.finalized_by).to eq(20230523101514)
    end
  end
end