Sebastian Serth
521626275f
Use create for all users in specs where necessary
2022-09-22 19:24:26 +02:00
Sebastian Serth
9c9f45ff77
Redefine user roles with their role in a study group
2022-09-22 19:24:26 +02:00
Sebastian Serth
e5879eb606
Simplify permission specs
...
* Remove iteration if not required
* Unify usage of parentheses for `permissions` call
2022-08-22 17:51:57 +02:00
Sebastian Serth
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
Sebastian Serth
30603cb7ab
Generalize method and constant names for runner management
2021-11-01 17:12:53 +01:00
Konrad Hanff
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
Sebastian Serth
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
3665058435
Fix tests and slightly refactor some policies
2018-12-12 14:09:20 +01:00
Ralf Teusner
0e26ab98c8
rename factory_girl_(rails) to factory_bot_(rails)
2017-11-15 15:18:07 +01:00
yqbk
c937a1a9ef
clean pull request
2016-10-24 23:02:44 +02:00
yqbk
7a76c4c6f1
try out new code
2016-10-11 13:12:00 +02:00
yqbk
1945a47109
apply changes after review
2016-10-11 12:44:16 +02:00
yqbk
d980ffb4c0
add role author to execution_environment_policy
2016-05-31 18:39:03 +02:00
Hauke Klement
8e374c6914
use #described_class, as suggested by RuboCop
2015-02-16 17:04:28 +01:00
Hauke Klement
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00