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
e1f40f40
Commit
e1f40f40
authored
Jun 20, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec/requests/api/merge_requests_spec.rb
parent
7482aef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
spec/requests/api/merge_requests_spec.rb
spec/requests/api/merge_requests_spec.rb
+0
-5
No files found.
spec/requests/api/merge_requests_spec.rb
View file @
e1f40f40
...
@@ -336,19 +336,14 @@ describe API::MergeRequests do
...
@@ -336,19 +336,14 @@ describe API::MergeRequests do
author:
user
,
author:
user
,
labels:
'label, label2'
,
labels:
'label, label2'
,
milestone_id:
milestone
.
id
,
milestone_id:
milestone
.
id
,
remove_source_branch:
true
,
squash:
true
squash:
true
expect
(
response
).
to
have_http_status
(
201
)
expect
(
response
).
to
have_http_status
(
201
)
expect
(
json_response
[
'title'
]).
to
eq
(
'Test merge_request'
)
expect
(
json_response
[
'title'
]).
to
eq
(
'Test merge_request'
)
expect
(
json_response
[
'labels'
]).
to
eq
(
%w(label label2)
)
expect
(
json_response
[
'labels'
]).
to
eq
(
%w(label label2)
)
expect
(
json_response
[
'milestone'
][
'id'
]).
to
eq
(
milestone
.
id
)
expect
(
json_response
[
'milestone'
][
'id'
]).
to
eq
(
milestone
.
id
)
<<<<<<<
HEAD
expect
(
json_response
[
'force_remove_source_branch'
]).
to
be_truthy
expect
(
json_response
[
'squash'
]).
to
be_truthy
expect
(
json_response
[
'squash'
]).
to
be_truthy
=======
expect
(
json_response
[
'force_remove_source_branch'
]).
to
be_falsy
expect
(
json_response
[
'force_remove_source_branch'
]).
to
be_falsy
>>>>>>>
bf57a7e80c44080dc7ec0fd774148afdae29cc31
end
end
it
"returns 422 when source_branch equals target_branch"
do
it
"returns 422 when source_branch equals target_branch"
do
...
...
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