11 Commits

Author SHA1 Message Date
bcbb2d2eb6 Generate truly random email addresses in factory
Previously, it could happen under some (random) circumstances that a series of users got the same user name. This is caused by the usage of Forgery for generating a name. Forgery itself picks a random name from a list, and there is no check that two calls would indeed deliver two different names.

In order to solve the issue, we generate a truly unique email address for specs, so that the problem won't arise again.
2023-11-11 13:40:28 +01:00
bcdc71021e Fix Rubocop offenses 2023-06-11 20:46:45 +02:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
4b00eb1e8c Allow internal users to switch their current study group 2022-09-26 16:30:54 +02:00
9c9f45ff77 Redefine user roles with their role in a study group 2022-09-22 19:24:26 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
113e05d310 minor changes 2015-02-24 16:25:47 +01:00
02904da7f9 minor change for consistency 2015-02-22 21:13:39 +01:00
0bb5dae334 changed literal array syntax, as suggested by RuboCop 2015-02-16 11:33:03 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00