Sebastian Serth
a0d8b30ef2
Implement support for some basic embed options for work sheets via LTI
...
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +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
9106ab182b
Include Webpack and use it for jQuery, Bootstrap and chosen.js
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
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
Maximilian Grundke
2c9f1a2917
Add tests for events controller
2018-08-15 14:40:59 +02:00
Maximilian Grundke
f5337fcb59
Add tests for statistics controller routes
2018-05-07 17:17:56 +02: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
Maximilian Grundke
0fd993c1cd
Move submission url attributes to controller test
2017-10-26 15:48:21 +02:00
Maximilian Grundke
34e96e40be
Fix submissions controller test json response
2017-10-26 15:43:14 +02:00
Maximilian Grundke
a00adbce25
Move *_url spec to controller, because the subscription model does not handle urls anymore
2017-10-16 14:02:40 +02: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
4badd82d58
fixed broken test
2017-01-19 14:34:49 +01:00
Tom Staubitz
6bf73757ae
fixing tests p3
2017-01-13 09:56:36 +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
rteusner
d931d431d5
Update submissions_controller_spec.rb
...
removed some uncommented lines
2016-11-11 17:29:03 +01:00
yqbk
c937a1a9ef
clean pull request
2016-10-24 23:02:44 +02:00
yqbk
44aca293e9
make travis green again
2016-10-08 20:37:20 +02:00
yqbk
b8e1cb8dfd
additional pending
2016-08-04 16:57:08 +02:00
yqbk
7efcfa632b
come back to green light!
2016-08-04 16:54:55 +02:00
yqbk
41b0c1e530
solve extension probelm
2016-08-03 17:21:49 +02: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
d921f90a65
solved logger error
2016-06-15 15:13:31 +02:00
yqbk
195fd9c3f9
submission controller spec - problem with Rails.logger.error
2016-06-14 16:07:44 +02:00
Maximilian Grundke
78422647fe
Add execution environment statistics
2015-10-29 14:19:31 +01:00
Ralf Teusner
c3a56e6429
fixed tests
2015-04-27 17:58:44 +02:00
Jan Renz
9c8d0b01eb
Fix reset of tasks
2015-04-20 22:30:31 +02:00
Jan Renz
5cb8ae68b0
Added tests
2015-04-20 16:51:50 +02:00
Hauke Klement
4eef3d70d5
minor refactoring of flash messages
2015-03-23 16:42:57 +01:00
Hauke Klement
c294e3b499
do not render the development environment for exercises without visible files
2015-03-21 18:46:02 +01:00
Hauke Klement
ba3476cfec
some refactoring
2015-03-19 14:33:51 +01:00
Hauke Klement
1f46f7c3af
execute test files concurrently
2015-03-16 17:51:46 +01:00
Hauke Klement
6ee0b6bf81
implemented partial batch update for exercises
2015-03-12 11:05:11 +01:00
Hauke Klement
67c7e1427e
fixed issue occurring for progress bars without a value
2015-03-11 10:14:39 +01:00
Hauke Klement
c91d5bd0b9
added tests
2015-03-06 10:23:17 +01:00
Hauke Klement
7477d4c6dd
transitionally downgraded to Rails 4.1 since activerecord-jdbcpostgresql-adapter is not fully compatible with Active Record 4.2
2015-03-02 15:04:37 +01:00
Hauke Klement
d6dc41c175
added tests
2015-02-25 17:37:51 +01:00
Hauke Klement
42c8b47d40
concretized redirection expectations in controller specs
2015-02-24 18:57:00 +01:00
Hauke Klement
05509c2ceb
added tests
2015-02-24 09:58:04 +01:00
Hauke Klement
dafeb3a706
added tests
2015-02-23 15:51:01 +01:00
Hauke Klement
f337f1c1a3
added tests
2015-02-23 12:44:22 +01:00