Skip to content
Snippets Groups Projects
Verified Commit e44e2316 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Change gravatar tests to identicon

parent 7be80fd8
No related branches found
No related tags found
No related merge requests found
Loading
@@ -69,7 +69,7 @@ describe ApplicationHelper do
Loading
@@ -69,7 +69,7 @@ describe ApplicationHelper do
it "should call gravatar_icon when no avatar is present" do it "should call gravatar_icon when no avatar is present" do
user = create(:user, email: 'test@example.com') user = create(:user, email: 'test@example.com')
user.save! user.save!
avatar_icon(user.email).to_s.should == "http://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=40&d=mm" avatar_icon(user.email).to_s.should == "http://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=40&d=identicon"
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment