diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 87f730ba5e7..4c9c7324d3f 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -900,7 +900,7 @@ describe User do expect(user.small_avatar_url).to eq("//test.localhost/letter_avatar/sam/45/#{LetterAvatar.version}.png") SiteSetting.external_system_avatars_enabled = true - expect(user.small_avatar_url).to eq("https://avatars.discourse.org/letter/s/5f9b8f/45.png") + expect(user.small_avatar_url).to eq("https://avatars.discourse.org/v2/letter/s/5f9b8f/45.png") end end