Welcome to mirror list, hosted at ThFree Co, Russian Federation.

active_sessions_menu_spec.rb « menus « user_settings « sidebars « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: be5f826ee58718e649a9d011e9ff8868109a3650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Sidebars::UserSettings::Menus::ActiveSessionsMenu, feature_category: :navigation do
  it_behaves_like 'User settings menu',
    link: '/-/profile/active_sessions',
    title: _('Active Sessions'),
    icon: 'monitor-lines',
    active_routes: { controller: :active_sessions }

  it_behaves_like 'User settings menu #render? method'
end