提交 d3d11e2a 编写于 作者: J Josh Frye

Add specs

上级 0aa0ace9
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册