blob: 8209f3175501bbc35484be48808a2b3ef0624fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
require 'spec_helper'
require_migration!
RSpec.describe QueueBackfillAdminModeScopeForPersonalAccessTokens,
feature_category: :authentication_and_authorization do
describe '#up' do
it 'schedules background migration' do
migrate!
expect(described_class::MIGRATION).to have_scheduled_batched_migration(
table_name: :personal_access_tokens,
column_name: :id,
interval: described_class::DELAY_INTERVAL)
end
end
end
|