summaryrefslogtreecommitdiff
path: root/spec/features/admin
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2016-12-06 13:54:35 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2016-12-06 22:16:32 +0500
commite16bc50d363fe65bbceb8aed39a0e19ec91b3329 (patch)
tree67a8bf258d3053705511f8ff977febd8befe9c14 /spec/features/admin
parent18201ace36f13eb916737154178d700feb4eeec6 (diff)
downloadgitlab-ce-e16bc50d363fe65bbceb8aed39a0e19ec91b3329.tar.gz
Move admin logs spinach test to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
Diffstat (limited to 'spec/features/admin')
-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