diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-02-03 02:26:35 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-02-03 02:26:35 +0300 |
commit | e7d530a624fbb8854047c3983eaa0972a19f36c8 (patch) | |
tree | 92f77913a359ccf4078cf010add02d8b8f765490 /spec/lib/gitlab/diff | |
parent | dce77b1d6d5e2b82441a685d385ee809c6b35b76 (diff) | |
parent | 54fca95160389fe7993df5d82635b83804833fee (diff) |
Merge branch 'fix-git-hooks-when-creating-file' into 'master'
Don't execute git hooks if you create branch as part of other change
Closes #23439
See merge request !7237
Diffstat (limited to 'spec/lib/gitlab/diff')
-rw-r--r-- | spec/lib/gitlab/diff/position_tracer_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/diff/position_tracer_spec.rb b/spec/lib/gitlab/diff/position_tracer_spec.rb index f5822fed37c..ffb9ba86fbb 100644 --- a/spec/lib/gitlab/diff/position_tracer_spec.rb +++ b/spec/lib/gitlab/diff/position_tracer_spec.rb @@ -99,7 +99,7 @@ describe Gitlab::Diff::PositionTracer, lib: true do Files::CreateService.new( project, current_user, - source_branch: branch_name, + start_branch: branch_name, target_branch: branch_name, commit_message: "Create file", file_path: file_name, @@ -112,7 +112,7 @@ describe Gitlab::Diff::PositionTracer, lib: true do Files::UpdateService.new( project, current_user, - source_branch: branch_name, + start_branch: branch_name, target_branch: branch_name, commit_message: "Update file", file_path: file_name, @@ -125,7 +125,7 @@ describe Gitlab::Diff::PositionTracer, lib: true do Files::DeleteService.new( project, current_user, - source_branch: branch_name, + start_branch: branch_name, target_branch: branch_name, commit_message: "Delete file", file_path: file_name |