diff options
Diffstat (limited to 'spec/lib/sidebars/user_profile/menus/followers_menu_spec.rb')
-rw-r--r-- | spec/lib/sidebars/user_profile/menus/followers_menu_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/lib/sidebars/user_profile/menus/followers_menu_spec.rb b/spec/lib/sidebars/user_profile/menus/followers_menu_spec.rb new file mode 100644 index 00000000000..2d3d48f0a8c --- /dev/null +++ b/spec/lib/sidebars/user_profile/menus/followers_menu_spec.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Sidebars::UserProfile::Menus::FollowersMenu, feature_category: :navigation do + it_behaves_like 'User profile menu', + title: s_('UserProfile|Followers'), + icon: 'users', + active_route: 'users#followers' do + let(:link) { "/users/#{user.username}/followers" } + end + + it_behaves_like 'Followers/followees counts', :followers +end |