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
26a5695e
Commit
26a5695e
authored
Dec 17, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3d7edf0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/helpers/application_helper_spec.rb
spec/helpers/application_helper_spec.rb
+3
-3
No files found.
spec/helpers/application_helper_spec.rb
View file @
26a5695e
...
@@ -62,11 +62,11 @@ describe ApplicationHelper do
...
@@ -62,11 +62,11 @@ describe ApplicationHelper do
it
"should return a generic avatar path when Gravatar is disabled"
do
it
"should return a generic avatar path when Gravatar is disabled"
do
Gitlab
.
config
.
gravatar
.
stub
(
:enabled
).
and_return
(
false
)
Gitlab
.
config
.
gravatar
.
stub
(
:enabled
).
and_return
(
false
)
gravatar_icon
(
user_email
).
should
==
'no_avatar.png'
gravatar_icon
(
user_email
).
should
==
'
/assets/
no_avatar.png'
end
end
it
"should return a generic avatar path when email is blank"
do
it
"should return a generic avatar path when email is blank"
do
gravatar_icon
(
''
).
should
==
'no_avatar.png'
gravatar_icon
(
''
).
should
==
'
/assets/
no_avatar.png'
end
end
it
"should return default gravatar url"
do
it
"should return default gravatar url"
do
...
...
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