Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cfe12a0d
Commit
cfe12a0d
authored
Oct 10, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/features/projects/merge_requests/user_creates_merge_request_spec.rb
parent
23f869c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
spec/features/projects/merge_requests/user_creates_merge_request_spec.rb
...rojects/merge_requests/user_creates_merge_request_spec.rb
+0
-20
No files found.
spec/features/projects/merge_requests/user_creates_merge_request_spec.rb
View file @
cfe12a0d
require
'spec_helper'
require
'spec_helper'
describe
'User creates a merge request'
,
:js
do
describe
'User creates a merge request'
,
:js
do
<<<<<<<
HEAD
let
(
:project
)
do
let
(
:project
)
do
create
(
:project
,
create
(
:project
,
:repository
,
:repository
,
...
@@ -10,29 +9,19 @@ describe 'User creates a merge request', :js do
...
@@ -10,29 +9,19 @@ describe 'User creates a merge request', :js do
end
end
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:user2
)
{
create
(
:user
)
}
let
(
:user2
)
{
create
(
:user
)
}
=======
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:user
)
{
create
(
:user
)
}
>>>>>>>
ce
-
com
/
master
before
do
before
do
project
.
add_master
(
user
)
project
.
add_master
(
user
)
sign_in
(
user
)
sign_in
(
user
)
<<<<<<<
HEAD
project
.
approvers
.
create
(
user_id:
user
.
id
)
project
.
approvers
.
create
(
user_id:
user
.
id
)
=======
>>>>>>>
ce
-
com
/
master
visit
(
project_new_merge_request_path
(
project
))
visit
(
project_new_merge_request_path
(
project
))
end
end
it
'creates a merge request'
do
it
'creates a merge request'
do
<<<<<<<
HEAD
allow_any_instance_of
(
Gitlab
::
AuthorityAnalyzer
).
to
receive
(
:calculate
).
and_return
([
user2
])
allow_any_instance_of
(
Gitlab
::
AuthorityAnalyzer
).
to
receive
(
:calculate
).
and_return
([
user2
])
=======
>>>>>>>
ce
-
com
/
master
find
(
'.js-source-branch'
).
click
find
(
'.js-source-branch'
).
click
click_link
(
'fix'
)
click_link
(
'fix'
)
...
@@ -41,7 +30,6 @@ describe 'User creates a merge request', :js do
...
@@ -41,7 +30,6 @@ describe 'User creates a merge request', :js do
click_button
(
'Compare branches'
)
click_button
(
'Compare branches'
)
<<<<<<<
HEAD
expect
(
find_field
(
'merge_request_description'
).
value
).
to
eq
(
'This merge request should contain the following.'
)
expect
(
find_field
(
'merge_request_description'
).
value
).
to
eq
(
'This merge request should contain the following.'
)
# Approvers
# Approvers
...
@@ -60,8 +48,6 @@ describe 'User creates a merge request', :js do
...
@@ -60,8 +48,6 @@ describe 'User creates a merge request', :js do
end
end
# End of approvers
# End of approvers
=======
>>>>>>>
ce
-
com
/
master
fill_in
(
'merge_request_title'
,
with:
'Wiki Feature'
)
fill_in
(
'merge_request_title'
,
with:
'Wiki Feature'
)
click_button
(
'Submit merge request'
)
click_button
(
'Submit merge request'
)
...
@@ -69,9 +55,6 @@ describe 'User creates a merge request', :js do
...
@@ -69,9 +55,6 @@ describe 'User creates a merge request', :js do
expect
(
page
).
to
have_content
(
'Wiki Feature'
)
expect
(
page
).
to
have_content
(
'Wiki Feature'
)
end
end
<<<<<<<
HEAD
# wait_for_requests
page
.
within
(
'.issuable-actions'
)
do
page
.
within
(
'.issuable-actions'
)
do
click_link
(
'Edit'
,
match: :first
)
click_link
(
'Edit'
,
match: :first
)
end
end
...
@@ -79,8 +62,5 @@ describe 'User creates a merge request', :js do
...
@@ -79,8 +62,5 @@ describe 'User creates a merge request', :js do
page
.
within
(
'ul.approver-list'
)
do
page
.
within
(
'ul.approver-list'
)
do
expect
(
page
).
to
have_content
(
user2
.
name
)
expect
(
page
).
to
have_content
(
user2
.
name
)
end
end
=======
wait_for_requests
>>>>>>>
ce
-
com
/
master
end
end
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