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
6385e756
Commit
6385e756
authored
Jul 08, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflict in spec/services/merge_requests/refresh_service_spec.rb
parent
6f022eef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
spec/services/merge_requests/refresh_service_spec.rb
spec/services/merge_requests/refresh_service_spec.rb
+3
-13
No files found.
spec/services/merge_requests/refresh_service_spec.rb
View file @
6385e756
...
...
@@ -122,21 +122,12 @@ describe MergeRequests::RefreshService, services: true do
expect
(
@fork_merge_request
.
notes
.
last
.
note
).
to
include
(
'merged'
)
expect
(
@build_failed_todo
).
to
be_done
expect
(
@fork_build_failed_todo
).
to
be_done
# EE-only
expect
(
@merge_request
.
approvals
).
not_to
be_empty
expect
(
@fork_merge_request
.
approvals
).
not_to
be_empty
end
end
<<<<<<<
HEAD
it
'updates the merge state'
do
expect
(
@merge_request
.
notes
.
last
.
note
).
to
include
(
'merged'
)
expect
(
@merge_request
).
to
be_merged
expect
(
@fork_merge_request
).
to
be_merged
expect
(
@fork_merge_request
.
notes
.
last
.
note
).
to
include
(
'merged'
)
expect
(
@build_failed_todo
).
to
be_done
expect
(
@fork_build_failed_todo
).
to
be_done
# EE-only
expect
(
@merge_request
.
approvals
).
not_to
be_empty
expect
(
@fork_merge_request
.
approvals
).
not_to
be_empty
=======
context
'when an MR to be closed was empty already'
do
let!
(
:empty_fork_merge_request
)
do
create
(
:merge_request
,
...
...
@@ -167,7 +158,6 @@ describe MergeRequests::RefreshService, services: true do
expect
(
empty_fork_merge_request
.
merge_request_diff
.
state
).
to
eq
(
'empty'
)
expect
(
empty_fork_merge_request
.
notes
).
to
be_empty
end
>>>>>>>
master
-
ce
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