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

21 lines
483 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
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
2020-03-09 13:42:32 +05:30
expect(page).to have_link 'application_json.log'
2019-10-12 21:52:04 +05:30
expect(page).to have_link 'git_json.log'
2018-03-17 18:26:18 +05:30
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