diff options
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 |