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'
|
2019-09-04 21:01:54 +05:30
|
|
|
expect(page).to have_link 'kubernetes.log'
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|
|
|
|
end
|