Commit Graph

14 Commits

Author SHA1 Message Date
e5879eb606 Simplify permission specs
* Remove iteration if not required
* Unify usage of parentheses for `permissions` call
2022-08-22 17:51:57 +02:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +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
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
3665058435 Fix tests and slightly refactor some policies 2018-12-12 14:09:20 +01:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
c937a1a9ef clean pull request 2016-10-24 23:02:44 +02:00
7a76c4c6f1 try out new code 2016-10-11 13:12:00 +02:00
1945a47109 apply changes after review 2016-10-11 12:44:16 +02:00
d980ffb4c0 add role author to execution_environment_policy 2016-05-31 18:39:03 +02:00
8e374c6914 use #described_class, as suggested by RuboCop 2015-02-16 17:04:28 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00