BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
185d278b
Commit
185d278b
authored
Apr 25, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use remote_branch instead
parent
0a843037
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
merge_request.rb
qa/qa/factory/resource/merge_request.rb
+4
-2
No files found.
qa/qa/factory/resource/merge_request.rb
View file @
185d278b
...
@@ -24,12 +24,14 @@ module QA
...
@@ -24,12 +24,14 @@ module QA
dependency
Factory
::
Repository
::
Push
,
as: :target
do
|
push
,
factory
|
dependency
Factory
::
Repository
::
Push
,
as: :target
do
|
push
,
factory
|
factory
.
project
.
visit!
factory
.
project
.
visit!
push
.
project
=
factory
.
project
push
.
project
=
factory
.
project
push
.
branch_name
=
"master:
#{
factory
.
target_branch
}
"
push
.
branch_name
=
'master'
push
.
remote_branch
=
factory
.
target_branch
end
end
dependency
Factory
::
Repository
::
Push
,
as: :source
do
|
push
,
factory
|
dependency
Factory
::
Repository
::
Push
,
as: :source
do
|
push
,
factory
|
push
.
project
=
factory
.
project
push
.
project
=
factory
.
project
push
.
branch_name
=
"
#{
factory
.
target_branch
}
:
#{
factory
.
source_branch
}
"
push
.
branch_name
=
factory
.
target_branch
push
.
remote_branch
=
factory
.
source_branch
push
.
file_name
=
"added_file.txt"
push
.
file_name
=
"added_file.txt"
push
.
file_content
=
"File Added"
push
.
file_content
=
"File Added"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment