Commit 6aa0094d authored by Eugenia Grieff's avatar Eugenia Grieff

Add line around conditional block

parent ffc41e9b
...@@ -731,6 +731,7 @@ RSpec.describe Event do ...@@ -731,6 +731,7 @@ RSpec.describe Event do
else else
{} {}
end end
target = kind == :project ? nil : build(kind, **extra_data) target = kind == :project ? nil : build(kind, **extra_data)
[kind, build(:event, :created, author: project.owner, project: project, target: target)] [kind, build(:event, :created, author: project.owner, project: project, target: target)]
......
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