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
Hide 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'
describe
'User creates a merge request'
,
:js
do
<<<<<<<
HEAD
let
(
:project
)
do
create
(
:project
,
:repository
,
...
...
@@ -10,29 +9,19 @@ describe 'User creates a merge request', :js do
end
let
(
:user
)
{
create
(
:user
)
}
let
(
:user2
)
{
create
(
:user
)
}
=======
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:user
)
{
create
(
:user
)
}
>>>>>>>
ce
-
com
/
master
before
do
project
.
add_master
(
user
)
sign_in
(
user
)
<<<<<<<
HEAD
project
.
approvers
.
create
(
user_id:
user
.
id
)
=======
>>>>>>>
ce
-
com
/
master
visit
(
project_new_merge_request_path
(
project
))
end
it
'creates a merge request'
do
<<<<<<<
HEAD
allow_any_instance_of
(
Gitlab
::
AuthorityAnalyzer
).
to
receive
(
:calculate
).
and_return
([
user2
])
=======
>>>>>>>
ce
-
com
/
master
find
(
'.js-source-branch'
).
click
click_link
(
'fix'
)
...
...
@@ -41,7 +30,6 @@ describe 'User creates a merge request', :js do
click_button
(
'Compare branches'
)
<<<<<<<
HEAD
expect
(
find_field
(
'merge_request_description'
).
value
).
to
eq
(
'This merge request should contain the following.'
)
# Approvers
...
...
@@ -60,8 +48,6 @@ describe 'User creates a merge request', :js do
end
# End of approvers
=======
>>>>>>>
ce
-
com
/
master
fill_in
(
'merge_request_title'
,
with:
'Wiki Feature'
)
click_button
(
'Submit merge request'
)
...
...
@@ -69,9 +55,6 @@ describe 'User creates a merge request', :js do
expect
(
page
).
to
have_content
(
'Wiki Feature'
)
end
<<<<<<<
HEAD
# wait_for_requests
page
.
within
(
'.issuable-actions'
)
do
click_link
(
'Edit'
,
match: :first
)
end
...
...
@@ -79,8 +62,5 @@ describe 'User creates a merge request', :js do
page
.
within
(
'ul.approver-list'
)
do
expect
(
page
).
to
have_content
(
user2
.
name
)
end
=======
wait_for_requests
>>>>>>>
ce
-
com
/
master
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