debian-mirror-gitlab/spec/features/profiles/user_visits_profile_authentication_log_spec.rb

16 lines
285 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
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