Welcome to mirror list, hosted at ThFree Co, Russian Federation.

admin_browses_logs_spec.rb « admin « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e3404dfdac2003727cdc4f003038c8bec1b335c (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
    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