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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
38b04f5e
Commit
38b04f5e
authored
Sep 29, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix another wrong conflict resolution
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
afc5a516
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/labels_select.js.coffee
app/assets/javascripts/labels_select.js.coffee
+1
-1
spec/services/projects/fork_service_spec.rb
spec/services/projects/fork_service_spec.rb
+4
-4
No files found.
app/assets/javascripts/labels_select.js.coffee
View file @
38b04f5e
...
...
@@ -90,7 +90,7 @@ class @LabelsSelect
saveLabel
=
->
# Create new label with API
Api
.
newLabel
namespacePath
,
projectPath
,
{
nam
e
:
newLabelField
.
val
()
titl
e
:
newLabelField
.
val
()
color
:
newColorField
.
val
()
},
(
label
)
->
$newLabelCreateButton
.
enable
()
...
...
spec/services/projects/fork_service_spec.rb
View file @
38b04f5e
...
...
@@ -12,14 +12,14 @@ describe Projects::ForkService, services: true do
description:
'wow such project'
)
@to_namespace
=
create
(
:namespace
)
@to_user
=
create
(
:user
,
namespace:
@to_namespace
)
@from_project
.
add_user
(
@to_user
,
:developer
)
@from_project
.
team
.
add_user
(
@to_user
,
:developer
)
end
context
'fork project'
do
context
'when forker is a guest'
do
before
do
@guest
=
create
(
:user
)
@from_project
.
add_user
(
@guest
,
:guest
)
@from_project
.
team
.
add_user
(
@guest
,
:guest
)
end
subject
{
fork_project
(
@from_project
,
@guest
)
}
...
...
@@ -97,8 +97,8 @@ describe Projects::ForkService, services: true do
@group
=
create
(
:group
)
@group
.
add_user
(
@group_owner
,
GroupMember
::
OWNER
)
@group
.
add_user
(
@developer
,
GroupMember
::
DEVELOPER
)
@project
.
add_user
(
@developer
,
:developer
)
@project
.
add_user
(
@group_owner
,
:developer
)
@project
.
team
.
add_user
(
@developer
,
:developer
)
@project
.
team
.
add_user
(
@group_owner
,
:developer
)
@opts
=
{
namespace:
@group
}
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