diff options
Diffstat (limited to 'spec/factories/design_management/designs.rb')
-rw-r--r-- | spec/factories/design_management/designs.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/design_management/designs.rb b/spec/factories/design_management/designs.rb index 38d0545483c..c58763791cc 100644 --- a/spec/factories/design_management/designs.rb +++ b/spec/factories/design_management/designs.rb @@ -2,8 +2,8 @@ FactoryBot.define do factory :design, class: 'DesignManagement::Design' do - issue { create(:issue) } - project { issue&.project || create(:project) } + issue { association(:issue) } + project { issue&.project || association(:project) } sequence(:filename) { |n| "homescreen-#{n}.jpg" } transient do |