diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /spec/models/integrations/shimo_spec.rb | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'spec/models/integrations/shimo_spec.rb')
-rw-r--r-- | spec/models/integrations/shimo_spec.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/models/integrations/shimo_spec.rb b/spec/models/integrations/shimo_spec.rb index be626012ab2..95289343d0d 100644 --- a/spec/models/integrations/shimo_spec.rb +++ b/spec/models/integrations/shimo_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe ::Integrations::Shimo do +RSpec.describe ::Integrations::Shimo, feature_category: :integrations do describe '#fields' do let(:shimo_integration) { build(:shimo_integration) } @@ -60,4 +60,10 @@ RSpec.describe ::Integrations::Shimo do expect { create(:shimo_integration) }.to change(ProjectSetting, :count).by(1) end end + + describe '#avatar_url' do + it 'returns the avatar image path' do + expect(subject.avatar_url).to eq(ActionController::Base.helpers.image_path('logos/shimo.svg')) + end + end end |