Commit 5a13470a authored by Alfredo Sumaran's avatar Alfredo Sumaran

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

Fix Rubocop offense

See merge request !9274
parents 6df388ea 79ef221e
...@@ -4,7 +4,7 @@ describe 'projects/_home_panel', :view do ...@@ -4,7 +4,7 @@ describe 'projects/_home_panel', :view do
let(:project) { create(:empty_project, :public) } let(:project) { create(:empty_project, :public) }
let(:notification_settings) do let(:notification_settings) do
user.notification_settings_for(project) if user user&.notification_settings_for(project)
end end
before do before do
......
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