23 Commits

Author SHA1 Message Date
988aefdbf9 Add tests for Exercise#needs_more_feedback? 2023-11-23 14:42:10 +01:00
99bd46af1a Align project files with CodeHarbor
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
2023-10-11 00:18:33 +02:00
e767cff309 Fix flaky tests dependent on exercise.reload for files 2023-09-16 16:57:59 +02:00
e2baa2ee55 Send score for all members of a programming group 2023-08-24 19:32:06 +02:00
0234414bae Rename user to contributor in submission 2023-08-24 19:32:06 +02:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
e0c2c7b806 Hide score button if exercise has no tests
We check for all teacher-defined assessments (linter and unit tests) to determine whether scoring should be possible
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
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
c89ee6c102 model and policy specs 2019-12-07 13:11:48 +01:00
f89d740671 fix test 2019-03-29 15:46:42 +01:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
5dc8fb9774 Fix in models/exercise_spec.rb, repair average_score without submission 2016-05-25 14:41:53 +02:00
b5c3d8170d Fix in models/exercise_spec.rb, repair average_percentage without submission 2016-05-25 14:39:48 +02:00
d109663cb9 extracted boolean validation logic into stand-alone validator 2015-03-18 09:10:58 +01:00
473e353dd8 added test 2015-02-24 14:37:03 +01:00
bfc11c333a added test 2015-02-24 11:47:29 +01:00
ded7825de8 added tests 2015-02-23 17:33:30 +01:00
11a0679b3a fixed style 2015-02-23 12:39:40 +01:00
8b04b47721 added tests 2015-02-21 11:11:04 +01: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