b6bc578aea
Move submission scoring from controller concern to submission model
...
Localization and markdown formatting is now done in a controller
spec in order to bring this logic away from the data and towards
the view.
2021-11-01 17:12:50 +01:00
cf58be97ee
Fix 17 previously failing specs
2021-11-01 17:12:49 +01:00
5e913c8a1a
Skip failing tests
...
17 tests are always failing, due to changes introduced when adding the
Runner abstraction. To know only these fail, they now get skipped in
order to make it apparent if tests that should not fail do fail in the
pipeline.
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
2b32829e60
Upgrade DatabaseCleaner strategy
2021-05-12 16:47:05 +02:00
c32e7586cd
Remove consumer_id from session
...
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
f49cd0bed4
forbid users to import an exercise they do not have access to (previously a new one was created)
2019-12-18 17:52:34 +01:00
1ddd6e19f5
add transaction spec
2019-12-14 12:34:55 +01:00
f680916385
remove create_new functionality, when exercise exists on CH but is not editable
2019-12-13 16:43:19 +01:00
5625fa63b0
add controller specs
2019-12-06 17:25:00 +01: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
4badd82d58
fixed broken test
2017-01-19 14:34:49 +01:00
6bf73757ae
fixing tests p3
2017-01-13 09:56:36 +01:00
9c8d0b01eb
Fix reset of tasks
2015-04-20 22:30:31 +02:00
5cb8ae68b0
Added tests
2015-04-20 16:51:50 +02:00
4eef3d70d5
minor refactoring of flash messages
2015-03-23 16:42:57 +01:00
c294e3b499
do not render the development environment for exercises without visible files
2015-03-21 18:46:02 +01:00
1f46f7c3af
execute test files concurrently
2015-03-16 17:51:46 +01:00
6ee0b6bf81
implemented partial batch update for exercises
2015-03-12 11:05:11 +01:00
67c7e1427e
fixed issue occurring for progress bars without a value
2015-03-11 10:14:39 +01:00
42c8b47d40
concretized redirection expectations in controller specs
2015-02-24 18:57:00 +01:00
05509c2ceb
added tests
2015-02-24 09:58:04 +01:00
f337f1c1a3
added tests
2015-02-23 12:44:22 +01:00
8b04b47721
added tests
2015-02-21 11:11:04 +01:00
9dab833796
fixed test
2015-02-19 11:29:00 +01:00
56acd4c3c3
updated to Rails 4.2
2015-02-18 10:41:26 +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
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