Skip to content
代码片段 群组 项目
未验证 提交 33ece4d3 编辑于 作者: Tiger Watson's avatar Tiger Watson 提交者: GitLab
浏览文件

Merge branch 'fix-housekeeper-overdue-finalize' into 'master'

Fix gitlab-housekeeper default reviewers to fix finalize BG migration

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/143864



Merged-by: default avatarTiger Watson <twatson@gitlab.com>
Approved-by: default avatarTiger Watson <twatson@gitlab.com>
Co-authored-by: default avatarDylan Griffith <dyl.griffith@gmail.com>
No related branches found
No related tags found
无相关合并请求
......@@ -10,6 +10,11 @@ class Change
:labels,
:reviewers
def initialize
@labels = []
@reviewers = []
end
def mr_description
<<~MARKDOWN
#{description}
......
......@@ -10,6 +10,15 @@
change.description = 'The description'
end
describe '#initialize' do
it 'sets default values for optional fields' do
change = described_class.new
expect(change.labels).to eq([])
expect(change.reviewers).to eq([])
end
end
describe '#mr_description' do
it 'includes standard content' do
expect(change.mr_description).to eq(
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册