BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
groups_helper.rb
app/helpers/groups_helper.rb
+0
-1
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