summaryrefslogtreecommitdiff
path: root/spec/features/admin/admin_browses_logs_spec.rb
blob: d880f3f07db3bf51fc2a7009426dc7b61a4a5e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

describe 'Admin browses logs' do
  before do
    login_as :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