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
1da1fed1
Commit
1da1fed1
authored
Sep 20, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/requests/api/v3/builds_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
06d8df22
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
29 deletions
+4
-29
spec/requests/api/boards_spec.rb
spec/requests/api/boards_spec.rb
+4
-20
spec/requests/api/v3/builds_spec.rb
spec/requests/api/v3/builds_spec.rb
+0
-9
No files found.
spec/requests/api/boards_spec.rb
View file @
1da1fed1
require
'spec_helper'
require
'spec_helper'
describe
API
::
Boards
do
describe
API
::
Boards
do
<<<<<<<
HEAD
let
(
:user
)
{
create
(
:user
)
}
let
(
:non_member
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
let
(
:admin
)
{
create
(
:user
,
:admin
)
}
let!
(
:project
)
{
create
(
:project
,
:public
,
creator_id:
user
.
id
,
namespace:
user
.
namespace
)
}
# EE only
let
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let!
(
:dev_label
)
do
=======
set
(
:user
)
{
create
(
:user
)
}
set
(
:user
)
{
create
(
:user
)
}
set
(
:user2
)
{
create
(
:user
)
}
set
(
:non_member
)
{
create
(
:user
)
}
set
(
:non_member
)
{
create
(
:user
)
}
set
(
:guest
)
{
create
(
:user
)
}
set
(
:guest
)
{
create
(
:user
)
}
set
(
:admin
)
{
create
(
:user
,
:admin
)
}
set
(
:admin
)
{
create
(
:user
,
:admin
)
}
set
(
:project
)
{
create
(
:project
,
:public
,
creator_id:
user
.
id
,
namespace:
user
.
namespace
)
}
set
(
:project
)
{
create
(
:project
,
:public
,
creator_id:
user
.
id
,
namespace:
user
.
namespace
)
}
set
(
:dev_label
)
do
set
(
:dev_label
)
do
>>>>>>>
upstream
/
master
create
(
:label
,
title:
'Development'
,
color:
'#FFAABB'
,
project:
project
)
create
(
:label
,
title:
'Development'
,
color:
'#FFAABB'
,
project:
project
)
end
end
...
@@ -41,13 +27,11 @@ describe API::Boards do
...
@@ -41,13 +27,11 @@ describe API::Boards do
create
(
:list
,
label:
test_label
,
position:
2
)
create
(
:list
,
label:
test_label
,
position:
2
)
end
end
<<<<<<<
HEAD
# EE only
let!
(
:board
)
do
set
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
create
(
:board
,
project:
project
,
milestone:
milestone
,
lists:
[
dev_list
,
test_list
])
=======
set
(
:board
)
do
set
(
:board
)
do
create
(
:board
,
project:
project
,
lists:
[
dev_list
,
test_list
])
create
(
:board
,
project:
project
,
milestone:
milestone
,
lists:
[
dev_list
,
test_list
])
>>>>>>>
upstream
/
master
end
end
before
do
before
do
...
...
spec/requests/api/v3/builds_spec.rb
View file @
1da1fed1
...
@@ -3,21 +3,12 @@ require 'spec_helper'
...
@@ -3,21 +3,12 @@ require 'spec_helper'
describe
API
::
V3
::
Builds
do
describe
API
::
V3
::
Builds
do
set
(
:user
)
{
create
(
:user
)
}
set
(
:user
)
{
create
(
:user
)
}
let
(
:api_user
)
{
user
}
let
(
:api_user
)
{
user
}
<<<<<<<
HEAD
let!
(
:project
)
{
create
(
:project
,
:repository
,
creator:
user
,
public_builds:
false
)
}
let!
(
:project
)
{
create
(
:project
,
:repository
,
creator:
user
,
public_builds:
false
)
}
let!
(
:developer
)
{
create
(
:project_member
,
:developer
,
user:
user
,
project:
project
)
}
let!
(
:developer
)
{
create
(
:project_member
,
:developer
,
user:
user
,
project:
project
)
}
let
(
:reporter
)
{
create
(
:project_member
,
:reporter
,
project:
project
)
}
let
(
:reporter
)
{
create
(
:project_member
,
:reporter
,
project:
project
)
}
let
(
:guest
)
{
create
(
:project_member
,
:guest
,
project:
project
)
}
let
(
:guest
)
{
create
(
:project_member
,
:guest
,
project:
project
)
}
let
(
:pipeline
)
{
create
(
:ci_empty_pipeline
,
project:
project
,
sha:
project
.
commit
.
id
,
ref:
project
.
default_branch
)
}
let
(
:pipeline
)
{
create
(
:ci_empty_pipeline
,
project:
project
,
sha:
project
.
commit
.
id
,
ref:
project
.
default_branch
)
}
let
(
:build
)
{
create
(
:ci_build
,
pipeline:
pipeline
)
}
let
(
:build
)
{
create
(
:ci_build
,
pipeline:
pipeline
)
}
=======
set
(
:project
)
{
create
(
:project
,
:repository
,
creator:
user
,
public_builds:
false
)
}
set
(
:developer
)
{
create
(
:project_member
,
:developer
,
user:
user
,
project:
project
)
}
set
(
:reporter
)
{
create
(
:project_member
,
:reporter
,
project:
project
)
}
set
(
:guest
)
{
create
(
:project_member
,
:guest
,
project:
project
)
}
set
(
:pipeline
)
{
create
(
:ci_empty_pipeline
,
project:
project
,
sha:
project
.
commit
.
id
,
ref:
project
.
default_branch
)
}
let!
(
:build
)
{
create
(
:ci_build
,
pipeline:
pipeline
)
}
>>>>>>>
upstream
/
master
describe
'GET /projects/:id/builds '
do
describe
'GET /projects/:id/builds '
do
let
(
:query
)
{
''
}
let
(
:query
)
{
''
}
...
...
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