Fixes failing spec
This commit is contained in:
parent
16459fddd4
commit
05628e0c2f
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ module Projects
|
|||
end
|
||||
|
||||
def target_owner
|
||||
return [] unless @target && @target.author.present?
|
||||
|
||||
[{
|
||||
name: @target.author.name,
|
||||
username: @target.author.username
|
||||
|
|
Loading…
Reference in a new issue