BigW Consortium Gitlab

user_visits_profile_authentication_log_spec.rb 285 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
require 'spec_helper'

describe 'User visits the authentication log' do
  let(:user) { create(:user) }

  before do
    sign_in(user)

    visit(audit_log_profile_path)
  end

  it 'shows correct menu item' do
    expect(page).to have_active_navigation('Authentication log')
  end
end