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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2016-12-06 11:54:35 +0300
committerSemyon Pupkov <mail@semyonpupkov.com>2016-12-06 20:16:32 +0300
commite16bc50d363fe65bbceb8aed39a0e19ec91b3329 (patch)
tree67a8bf258d3053705511f8ff977febd8befe9c14 /spec
parent18201ace36f13eb916737154178d700feb4eeec6 (diff)
Move admin logs spinach test to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
Diffstat (limited to 'spec')
-rw-r--r--spec/features/admin/admin_browses_logs_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/features/admin/admin_browses_logs_spec.rb b/spec/features/admin/admin_browses_logs_spec.rb
new file mode 100644
index 00000000000..d880f3f07db
--- /dev/null
+++ b/spec/features/admin/admin_browses_logs_spec.rb
@@ -0,0 +1,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