Commit 4716cae4 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'add-merge-train-auto-merge-strategy-ce' into 'master'

(CE Port) [New Auto Merge Strategy] Merge Train

See merge request gitlab-org/gitlab-ce!29485
parents 6766a88a 29a16fbf
......@@ -10,8 +10,8 @@ describe AutoMergeService do
describe '.all_strategies' do
subject { described_class.all_strategies }
it 'returns all strategies' do
is_expected.to eq(AutoMergeService::STRATEGIES)
it 'includes merge when pipeline succeeds' do
is_expected.to include(AutoMergeService::STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment