debian-mirror-gitlab/spec/features/admin/admin_browses_logs_spec.rb
2017-09-10 17:25:29 +05:30

15 lines
318 B
Ruby

require 'spec_helper'
describe 'Admin browses logs' do
before do
sign_in(create(:admin))
end
it 'shows available log files' do
visit admin_logs_path
expect(page).to have_content 'test.log'
expect(page).to have_content 'githost.log'
expect(page).to have_content 'application.log'
end
end