summaryrefslogtreecommitdiff
path: root/spec/lib/bulk_imports/projects/stage_spec.rb
blob: 428812a34ef35e96210ce1cd09ab48c57b074016 (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'

RSpec.describe BulkImports::Projects::Stage do
  let(:pipelines) do
    [
      [0, BulkImports::Projects::Pipelines::ProjectPipeline],
      [1, BulkImports::Common::Pipelines::EntityFinisher]
    ]
  end

  describe '.pipelines' do
    it 'list all the pipelines with their stage number, ordered by stage' do
      expect(described_class.pipelines).to eq(pipelines)
    end
  end
end