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
d90f9c52
Commit
d90f9c52
authored
Aug 03, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge conflicts
parent
811c0255
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
55 deletions
+0
-55
spec/factories/projects.rb
spec/factories/projects.rb
+0
-45
spec/requests/api/groups_spec.rb
spec/requests/api/groups_spec.rb
+0
-5
spec/requests/api/v3/groups_spec.rb
spec/requests/api/v3/groups_spec.rb
+0
-5
No files found.
spec/factories/projects.rb
View file @
d90f9c52
...
...
@@ -220,52 +220,7 @@ FactoryGirl.define do
broken_repo
end
<<<<<<<
HEAD
# Project with test repository
#
# Test repository source can be found at
# https://gitlab.com/gitlab-org/gitlab-test
factory
:project
,
parent: :empty_project
do
path
{
'gitlabhq'
}
test_repo
transient
do
create_template
nil
end
after
:create
do
|
project
,
evaluator
|
if
evaluator
.
create_template
args
=
evaluator
.
create_template
project
.
add_user
(
args
[
:user
],
args
[
:access
])
project
.
repository
.
create_file
(
args
[
:user
],
".gitlab/
#{
args
[
:path
]
}
/bug.md"
,
'something valid'
,
message:
'test 3'
,
branch_name:
'master'
)
project
.
repository
.
create_file
(
args
[
:user
],
".gitlab/
#{
args
[
:path
]
}
/template_test.md"
,
'template_test'
,
message:
'test 1'
,
branch_name:
'master'
)
project
.
repository
.
create_file
(
args
[
:user
],
".gitlab/
#{
args
[
:path
]
}
/feature_proposal.md"
,
'feature_proposal'
,
message:
'test 2'
,
branch_name:
'master'
)
end
end
end
factory
:forked_project_with_submodules
,
parent: :empty_project
do
=======
factory
:forked_project_with_submodules
,
parent: :project
do
>>>>>>>
upstream
/
master
path
{
'forked-gitlabhq'
}
after
:create
do
|
project
|
...
...
spec/requests/api/groups_spec.rb
View file @
d90f9c52
...
...
@@ -589,13 +589,8 @@ describe API::Groups do
end
describe
"POST /groups/:id/projects/:project_id"
do
<<<<<<<
HEAD
let
(
:project
)
{
create
(
:empty_project
)
}
let
(
:project_path
)
{
CGI
.
escape
(
project
.
full_path
)
}
=======
let
(
:project
)
{
create
(
:project
)
}
let
(
:project_path
)
{
project
.
full_path
.
gsub
(
'/'
,
'%2F'
)
}
>>>>>>>
upstream
/
master
before
(
:each
)
do
allow_any_instance_of
(
Projects
::
TransferService
)
...
...
spec/requests/api/v3/groups_spec.rb
View file @
d90f9c52
...
...
@@ -649,13 +649,8 @@ describe API::V3::Groups do
end
describe
"POST /groups/:id/projects/:project_id"
do
<<<<<<<
HEAD
let
(
:project
)
{
create
(
:empty_project
)
}
let
(
:project_path
)
{
CGI
.
escape
(
project
.
full_path
)
}
=======
let
(
:project
)
{
create
(
:project
)
}
let
(
:project_path
)
{
"
#{
project
.
namespace
.
path
}
%2F
#{
project
.
path
}
"
}
>>>>>>>
upstream
/
master
before
(
:each
)
do
allow_any_instance_of
(
Projects
::
TransferService
)
...
...
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