summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_profile_ssh_keys_page_spec.rb
blob: 05ad9096f653beccb98fd61c3baa9f48c6782b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'spec_helper'

describe 'User visits the profile SSH keys page' do
  let(:user) { create(:user) }

  before do
    sign_in(user)

    visit(profile_keys_path)
  end

  it 'shows correct menu item' do
    expect(page).to have_active_navigation('SSH Keys')
  end
end