summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_profile_authentication_log_spec.rb
blob: a50ebb29e01acfb6953263fe9ef6b2986637fcdc (plain)
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