Fix Rubocop offense
This commit is contained in:
parent
798e03f0c8
commit
79ef221e4e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue