Commit Graph

40 Commits

Author SHA1 Message Date
Maximilian Pass
028fc2989a #18 Add sql index for unpublished exercises
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
Karol
46e7853465 specs for services 2019-12-09 20:35:49 +01:00
Karol
5625fa63b0 add controller specs 2019-12-06 17:25:00 +01:00
Sebastian Serth
59257d17f2 Add user (ID and type) to proxy exercise
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
Sebastian Serth
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
Sebastian Serth
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
Sebastian Serth
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
Sebastian Serth
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
Sebastian Serth
108190c242 Create three traits in FactoryBot to prevent deprecation warning
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Sebastian Serth
ff24a0bf0b Move non-empty files from test dir to spec and adopt specs
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
Sebastian Serth
1f12b39731 Hide FactoryBot deprecation warning by changing static assignment
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
Sebastian Serth
3916f66695 Fix Factories 2018-02-22 17:19:53 +01:00
Ralf Teusner
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
Ralf Teusner
ac14e2d0ca first steps towards testing the redirect with regards to user_feedbacks 2017-11-01 11:57:56 +01:00
Thomas Hille
d5b2ea4269 added proxy exercise dispatching to LTI module. Submissions now set user before the exercise token gets validated. this we need to set the exercise behind the proxy exercise 2017-03-21 10:31:32 +01:00
Tom Staubitz
e634caf408 fixing tests final nice-up 2017-01-13 11:11:15 +01:00
Tom Staubitz
4af24d4317 fixing tests p2 lti_spec tests all passed 2017-01-13 00:37:07 +01:00
Tom Staubitz
5fe12bfa78 fixing tests p1 2017-01-12 18:12:36 +01:00
Tom Staubitz
f4c01879bf preparations to replace session with lti_parameters object 2016-12-27 00:13:41 +01:00
yqbk
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
yqbk
2bb1362520 further delete (spec files) 2016-07-04 16:59:30 +02:00
yqbk
c8abe46815 Problem with Error_controller_spec seemst to be connected with pundit. When we use version 0.3 instead of 1.1 all tests are passing. I have discovered that somehow error record is not correctly assigned in newer verion. Probably we need to look for an issue in spec/factories/error or app/models/error files. Tests are failing at the first step, when creating error -> @error = Error.new(params). Still hasn't solved but im quite close 2016-06-08 18:56:54 +02:00
Hauke Klement
15d8984a9e added the ability to prohibit network access for code submissions executed using Docker 2015-03-17 17:14:25 +01:00
Hauke Klement
b1218e0b80 added the ability to limit memory consumption of code submissions executed using Docker 2015-03-17 15:51:59 +01:00
Hauke Klement
88730de8b6 fixed seeds 2015-03-13 09:30:50 +01:00
Hauke Klement
cb9b1a3e71 added seeds for teams 2015-03-11 14:31:40 +01:00
Hauke Klement
3ae749bfc5 extended execution environments by a default file type that is used as the default for associated exercises' files 2015-03-10 18:14:26 +01:00
Hauke Klement
1fe56f8ea6 updated seeds for execution environments 2015-03-09 18:01:33 +01:00
Hauke Klement
f67e67bb83 fixed factory 2015-03-02 09:37:47 +01:00
Hauke Klement
fab95d6f31 added tests 2015-02-26 15:37:24 +01:00
Hauke Klement
113e05d310 minor changes 2015-02-24 16:25:47 +01:00
Hauke Klement
02904da7f9 minor change for consistency 2015-02-22 21:13:39 +01:00
Hauke Klement
a13d1738e2 fixed multiple style guide violations 2015-02-17 10:23:01 +01:00
Hauke Klement
0bb5dae334 changed literal array syntax, as suggested by RuboCop 2015-02-16 11:33:03 +01:00
Hauke Klement
5f0815b140 implemented pooling for Docker containers 2015-02-06 15:59:51 +01:00
Hauke Klement
b08bc8aef2 sped up some tests 2015-01-30 10:50:44 +01:00
Hauke Klement
db2a9a4261 sped up some tests 2015-01-29 18:19:45 +01:00
Hauke Klement
dd624b26c8 started implementing teams 2015-01-28 12:28:09 +01:00
Hauke Klement
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00