summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-06-28 12:44:29 -0400
committerJosh Frye <joshfng@gmail.com>2016-06-28 21:35:42 -0400
commitd3d11e2ae70f86333b7f1bdcb5e21f8900631161 (patch)
treeab4ea61be9a5b6fe6b6ab8b3d3651f5cc910fecb
parent0aa0ace9bcca80af45e1060d2bfb730d3ef95836 (diff)
downloadgitlab-ce-system-info.tar.gz
Add specssystem-info
-rw-r--r--spec/features/admin/admin_system_info_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/features/admin/admin_system_info_spec.rb b/spec/features/admin/admin_system_info_spec.rb
new file mode 100644
index 00000000000..dbc1d829b67
--- /dev/null
+++ b/spec/features/admin/admin_system_info_spec.rb
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+describe 'Admin System Info' do
+ before do
+ login_as :admin
+ end
+
+ describe 'GET /admin/system_info' do
+ it 'shows system info page' do
+ visit admin_system_info_path
+
+ expect(page).to have_content 'CPU'
+ expect(page).to have_content 'Memory'
+ expect(page).to have_content 'Disk'
+ end
+ end
+end