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
59c6ddcd
Commit
59c6ddcd
authored
Oct 09, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Lint Error + Upload Test
parent
5f41cddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
+0
-1
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-1
No files found.
app/helpers/groups_helper.rb
View file @
59c6ddcd
module
GroupsHelper
def
can_change_group_visibility_level?
(
group
)
can?
(
current_user
,
:change_visibility_level
,
group
)
end
...
...
spec/models/project_spec.rb
View file @
59c6ddcd
...
...
@@ -844,7 +844,7 @@ describe Project do
let
(
:project
)
{
create
(
:project
)
}
context
'when avatar file is uploaded'
do
let
(
:project
)
{
create
(
:project
,
:with_avatar
)
}
let
(
:project
)
{
create
(
:project
,
:
public
,
:
with_avatar
)
}
let
(
:avatar_path
)
{
"/uploads/-/system/project/avatar/
#{
project
.
id
}
/dk.png"
}
let
(
:gitlab_host
)
{
"http://
#{
Gitlab
.
config
.
gitlab
.
host
}
"
}
...
...
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