diff options
Diffstat (limited to 'spec/factories/go_modules.rb')
-rw-r--r-- | spec/factories/go_modules.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/go_modules.rb b/spec/factories/go_modules.rb index fdbacf48d3b..ca7184a9194 100644 --- a/spec/factories/go_modules.rb +++ b/spec/factories/go_modules.rb @@ -5,7 +5,7 @@ FactoryBot.define do initialize_with { new(attributes[:project], attributes[:name], attributes[:path]) } skip_create - project { create :project, :repository } + project { association(:project, :repository) } path { '' } name { "#{Settings.build_gitlab_go_url}/#{project.full_path}#{path.empty? ? '' : '/'}#{path}" } |