19 lines
440 B
Ruby
19 lines
440 B
Ruby
|
# 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
|