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

Merge branch 'freinink/fix-master-broken-empty-struct' into 'master'

Fix broken master: No longer initialize empty struct

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



Merged-by: default avatarKerri Miller <kerrizor@kerrizor.com>
Approved-by: default avatarKerri Miller <kerrizor@kerrizor.com>
Co-authored-by: default avatarFred Reinink <freinink@gitlab.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
RSpec.describe Projects::AllBranchesRules::MergeRequestApprovalSetting, feature_category: :source_code_management do RSpec.describe Projects::AllBranchesRules::MergeRequestApprovalSetting, feature_category: :source_code_management do
let(:project) { Struct.new } let_it_be(:project) { create(:project) }
it 'initializes with a project and makes that project accessible' do it 'initializes with a project and makes that project accessible' do
expect(described_class.new(project).project).to eq(project) expect(described_class.new(project).project).to eq(project)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册