summaryrefslogtreecommitdiff
path: root/spec/features/admin/admin_browses_logs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/admin/admin_browses_logs_spec.rb')
-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