diff options
Diffstat (limited to 'spec/factories/design_management')
-rw-r--r-- | spec/factories/design_management/designs.rb | 2 | ||||
-rw-r--r-- | spec/factories/design_management/versions.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/design_management/designs.rb b/spec/factories/design_management/designs.rb index 56a1b55b969..3d95c754a96 100644 --- a/spec/factories/design_management/designs.rb +++ b/spec/factories/design_management/designs.rb @@ -109,7 +109,7 @@ FactoryBot.define do repository = project.design_repository commit_version = ->(action) do - repository.multi_action( + repository.commit_files( evaluator.author, branch_name: 'master', message: "#{action.action} for #{design.filename}", diff --git a/spec/factories/design_management/versions.rb b/spec/factories/design_management/versions.rb index e505a77d6bd..9d965c6e86c 100644 --- a/spec/factories/design_management/versions.rb +++ b/spec/factories/design_management/versions.rb @@ -102,7 +102,7 @@ FactoryBot.define do end if actions.present? - repository.multi_action( + repository.commit_files( evaluator.author, branch_name: 'master', message: "created #{actions.size} files", @@ -123,7 +123,7 @@ FactoryBot.define do end end - sha = repository.multi_action( + sha = repository.commit_files( evaluator.author, branch_name: 'master', message: "edited #{version_actions.size} files", |