Commit aa22167a authored by Peter Leitzen's avatar Peter Leitzen

Use explicit association for creator in project factory

parent 2f0282ab
...@@ -15,7 +15,7 @@ FactoryBot.define do ...@@ -15,7 +15,7 @@ FactoryBot.define do
# Associations # Associations
namespace namespace
creator { group ? create(:user) : namespace&.owner } creator { group ? association(:user) : namespace&.owner }
transient do transient do
# Nest Project Feature attributes # Nest Project Feature attributes
......
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