debian-mirror-gitlab/spec/features/admin/admin_browses_logs_spec.rb

18 lines
399 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
require 'spec_helper'
describe 'Admin browses logs' do
before do
2017-09-10 17:25:29 +05:30
sign_in(create(:admin))
2017-08-17 22:00:37 +05:30
end
it 'shows available log files' do
visit admin_logs_path
2018-03-17 18:26:18 +05:30
expect(page).to have_link 'application.log'
expect(page).to have_link 'githost.log'
expect(page).to have_link 'test.log'
expect(page).to have_link 'sidekiq.log'
expect(page).to have_link 'repocheck.log'
2017-08-17 22:00:37 +05:30
end
end