Add execution environment statistics

This commit is contained in:
Maximilian Grundke
2015-10-29 14:19:31 +01:00
parent 22da25be60
commit 78422647fe
9 changed files with 53 additions and 10 deletions

View File

@ -130,6 +130,14 @@ describe ExecutionEnvironmentsController do
expect_template(:shell)
end
describe 'GET #statistics' do
before(:each) { get :statistics, id: execution_environment.id }
expect_assigns(execution_environment: :execution_environment)
expect_status(200)
expect_template(:statistics)
end
describe 'GET #show' do
before(:each) { get :show, id: execution_environment.id }