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

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

require 'fast_spec_helper'

RSpec.describe BulkImports::RetryPipelineError do
  describe '#retry_delay' do
    it 'returns retry_delay' do
      exception = described_class.new('Error!', 60)

      expect(exception.retry_delay).to eq(60)
    end
  end
end