Add auto merge strategies
AddToMergeTrainWhenPipelineSucceeds and MergeTrain
This commit is contained in:
parent
9eb40fbfd6
commit
29a16fbf9e
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ describe AutoMergeService do
|
||||||
describe '.all_strategies' do
|
describe '.all_strategies' do
|
||||||
subject { described_class.all_strategies }
|
subject { described_class.all_strategies }
|
||||||
|
|
||||||
it 'returns all strategies' do
|
it 'includes merge when pipeline succeeds' do
|
||||||
is_expected.to eq(AutoMergeService::STRATEGIES)
|
is_expected.to include(AutoMergeService::STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue