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

20230703024031_cleanup_project_pipeline_status_key_spec.rb « migrations « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4232162134a800aba61cf254635719691ca7ec5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'spec_helper'
require_migration!

RSpec.describe CleanupProjectPipelineStatusKey, feature_category: :redis do
  it 'enqueues a RedisMigrationWorker job from cursor 0' do
    expect(RedisMigrationWorker).to receive(:perform_async).with('BackfillProjectPipelineStatusTtl', '0')

    migrate!
  end
end