Skip to content
Snippets Groups Projects
Commit be231d21 authored by Andreas Brandl's avatar Andreas Brandl
Browse files

Use more specific #avatar_icon_for_user.

Whenever we already deal with a User object, let's use the more specific
method avatar_icon_for_user.
parent f338ff43
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -215,7 +215,7 @@ describe ProjectsHelper do
let(:expected) { double }
 
before do
expect(helper).to receive(:avatar_icon).with(user, 16).and_return(expected)
expect(helper).to receive(:avatar_icon_for_user).with(user, 16).and_return(expected)
end
 
it 'returns image tag for member avatar' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment