Commit 26a5695e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
parent 3d7edf0f
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment