Fixes failing spec

This commit is contained in:
Alfredo Sumaran 2016-03-30 16:29:42 -05:00 committed by Jacob Schatz
parent 16459fddd4
commit 05628e0c2f

View file

@ -25,6 +25,8 @@ module Projects
end
def target_owner
return [] unless @target && @target.author.present?
[{
name: @target.author.name,
username: @target.author.username