提交 5a13470a 编写于 作者: A Alfredo Sumaran

Merge branch 'fix-rubocop-master' into 'master'

Fix Rubocop offense

See merge request !9274
......@@ -4,7 +4,7 @@ describe 'projects/_home_panel', :view do
let(:project) { create(:empty_project, :public) }
let(:notification_settings) do
user.notification_settings_for(project) if user
user&.notification_settings_for(project)
end
before do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册