Sebastian Serth
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
ebdfd4ab63
Re-enable oscillating tests
2021-05-12 16:47:05 +02:00
Sebastian Serth
b10e23dd16
Upgrade to newest Sentry
2021-03-04 14:02:16 +01:00
Sebastian Serth
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
Sebastian Serth
758f2b3365
Adopt tests to respect Raven context
2020-01-29 09:55:35 +01:00
Sebastian Serth
b137e64020
Add StudyGroups with ExternalUsers only
2018-12-12 12:09:52 +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
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
Maximilian Grundke
6377c6ca0f
Use skip instead of misused pending in oscillating tests
2018-01-31 13:06:18 +01:00
Maximilian Grundke
e934a29a45
Set oscillating tests to pending
2017-12-20 10:36:31 +01:00
Ralf Teusner
fc873cb053
second run of replacement regex from https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md ...
...
Nested calls seem to be fun..
2017-11-15 15:37:42 +01:00
Ralf Teusner
0e26ab98c8
rename factory_girl_(rails) to factory_bot_(rails)
2017-11-15 15:18:07 +01:00
Thomas Hille
7a61d5a983
tests
2017-03-21 10:31:32 +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
325ea25849
Replaced session[:lti_parameters] with proper LtiParameter object.
...
Removed all tests that would be failing
TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.
TODO: replace removed tests with proper tests
2016-12-30 09:45:39 +01:00
Tom Staubitz
6f1d8b2d38
Marked more locations that might require to be changed when we switch from session to LtiParameters Object
2016-12-27 07:48:59 +01:00
Tom Staubitz
f4c01879bf
preparations to replace session with lti_parameters object
2016-12-27 00:13:41 +01:00
Hauke Klement
4eef3d70d5
minor refactoring of flash messages
2015-03-23 16:42:57 +01:00
Hauke Klement
42c8b47d40
concretized redirection expectations in controller specs
2015-02-24 18:57:00 +01:00
Hauke Klement
5bfe03c426
set application locale from custom LTI launch parameter
2015-02-23 11:33:43 +01:00
Hauke Klement
466f8967e2
eliminated naming clash with Sorcery
2015-02-23 10:39:04 +01:00
Hauke Klement
b21a7ee8e8
use shorter notation for creating procs, as suggested by RuboCop
2015-02-17 08:21:00 +01:00
Hauke Klement
d38e7e1791
added tests
2015-02-09 12:25:20 +01:00
Hauke Klement
b08bc8aef2
sped up some tests
2015-01-30 10:50:44 +01:00
Hauke Klement
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00