user_visits_profile_ssh_keys_page_spec.rb 273 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
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
13
    expect(page).to have_active_navigation('SSH Keys')
14 15
  end
end