Commit Graph

25 Commits

Author SHA1 Message Date
7f47af99cb Fix order-dependent specs 2021-11-04 19:15:33 +01:00
01ec9343cf Remove usage of DockerClient 2021-11-01 17:13:10 +01:00
953643f05e [Spec] Use strings for image names 2021-11-01 17:13:08 +01:00
2b98905acb Remove usage of DockerClient from execution_environments_controller.rb 2021-11-01 17:13:07 +01:00
1dfee31079 Fix order-dependent execution_environments_controller_spec.rb 2021-11-01 17:13:05 +01:00
d87e23b9a3 Add execute_command method to runner.rb
* This is now used by the score and test runs
* This also re-enables the interactive shell for execution environments
2021-11-01 17:13:05 +01:00
5037a73f36 Mock runner management settings for spec 2021-11-01 17:12:54 +01:00
30603cb7ab Generalize method and constant names for runner management 2021-11-01 17:12:53 +01:00
0280c0282e Add tests for synchronizing all execution environments
This adds policy tests to ensure only an admin can synchronize all
execution environments. It also adds controller tests that check that
all execution environments get synchronized.
2021-11-01 17:12:49 +01:00
d22d24df4d Add tests for execution environment copy to Poseidon 2021-11-01 17:12:48 +01:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
90defa8f89 Fix tests and rename request variable in specs to perform_request
Explanation: Using the variable name `request` might interfere with methods in Rails core system prevent successful test execution. See this issue: https://github.com/turbolinks/turbolinks-rails/issues/38
2018-11-06 16:49:42 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
78422647fe Add execution environment statistics 2015-10-29 14:19:31 +01:00
4eef3d70d5 minor refactoring of flash messages 2015-03-23 16:42:57 +01:00
42c8b47d40 concretized redirection expectations in controller specs 2015-02-24 18:57:00 +01:00
2180c3878e added tests 2015-02-23 10:35:58 +01:00
a13d1738e2 fixed multiple style guide violations 2015-02-17 10:23:01 +01:00
b21a7ee8e8 use shorter notation for creating procs, as suggested by RuboCop 2015-02-17 08:21:00 +01:00
232c6b398f extracted method 2015-02-09 16:24:33 +01:00
5f0815b140 implemented pooling for Docker containers 2015-02-06 15:59:51 +01:00
b08bc8aef2 sped up some tests 2015-01-30 10:50:44 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00