Commit Graph

269 Commits

Author SHA1 Message Date
03141409e8 Fix tests for user_exercise_feedback 2017-11-08 15:41:48 +01:00
3608712706 forgot some minor changes in spec.. (still work in progress) 2017-11-06 15:38:50 +01:00
ac14e2d0ca first steps towards testing the redirect with regards to user_feedbacks 2017-11-01 11:57:56 +01:00
0fd993c1cd Move submission url attributes to controller test 2017-10-26 15:48:21 +02:00
34e96e40be Fix submissions controller test json response 2017-10-26 15:43:14 +02:00
14a135a0c9 Add explanatory comment to config 2017-10-26 15:42:20 +02:00
6d28f427d8 Add Ralf's comment to skipped tests 2017-10-25 10:12:29 +02:00
ffe4f65628 Adapt lti_spec to current functionality 2017-10-18 22:05:07 +02:00
a00adbce25 Move *_url spec to controller, because the subscription model does not handle urls anymore 2017-10-16 14:02:40 +02:00
686d56bbd6 Add rspec persistence file to config to allow for re-running only failed tests locally 2017-10-16 13:20:40 +02:00
350913de79 fixed LTI Spec 2017-03-21 10:31:33 +01:00
7a61d5a983 tests 2017-03-21 10:31:32 +01:00
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
4badd82d58 fixed broken test 2017-01-19 14:34:49 +01:00
e634caf408 fixing tests final nice-up 2017-01-13 11:11:15 +01:00
6bf73757ae fixing tests p3 2017-01-13 09:56:36 +01:00
4af24d4317 fixing tests p2 lti_spec tests all passed 2017-01-13 00:37:07 +01:00
5fe12bfa78 fixing tests p1 2017-01-12 18:12:36 +01:00
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
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
f4c01879bf preparations to replace session with lti_parameters object 2016-12-27 00:13:41 +01:00
d931d431d5 Update submissions_controller_spec.rb
removed some uncommented lines
2016-11-11 17:29:03 +01:00
3842509275 removed comments that had no value for me. 2016-11-11 16:44:55 +01:00
9852119d49 skip some more selenium tests which are currently not working locally. 2016-11-11 15:37:22 +01:00
c937a1a9ef clean pull request 2016-10-24 23:02:44 +02:00
46cdbc3b4b change workspace path to /tmp 2016-10-16 17:28:57 +02:00
f055e6813d changes in travis 2016-10-16 17:21:54 +02:00
043ece68f4 enable container tests 2016-10-16 16:55:24 +02:00
7a76c4c6f1 try out new code 2016-10-11 13:12:00 +02:00
1945a47109 apply changes after review 2016-10-11 12:44:16 +02:00
44aca293e9 make travis green again 2016-10-08 20:37:20 +02:00
ea745cbb5b require codeclimate 2016-10-08 17:48:28 +02:00
b8e1cb8dfd additional pending 2016-08-04 16:57:08 +02:00
7efcfa632b come back to green light! 2016-08-04 16:54:55 +02:00
41b0c1e530 solve extension probelm 2016-08-03 17:21:49 +02:00
032c201b94 repair database query 2016-08-03 14:08:01 +02:00
4183a16178 merge with master 2016-08-03 12:09:58 +02:00
16206cf58f restore one line 2016-07-04 17:56:57 +02:00
2bb1362520 further delete (spec files) 2016-07-04 16:59:30 +02:00
d921f90a65 solved logger error 2016-06-15 15:13:31 +02:00
195fd9c3f9 submission controller spec - problem with Rails.logger.error 2016-06-14 16:07:44 +02:00
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
4c16661bc3 change error policies 2016-06-07 18:22:45 +02:00
edbb043b44 Merge branch 'rspec-tests-controllers' of github.com:openHPI/codeocean into rspec-tests-controllers 2016-06-07 13:53:05 +02:00
ed20a30517 reverse some changes 2016-06-07 13:52:01 +02:00
f7e7db54ec fixed issues with deleting files and issue with json method not defined for the mock-double for rspec-tests in lib 2016-06-02 14:27:49 +02:00
d980ffb4c0 add role author to execution_environment_policy 2016-05-31 18:39:03 +02:00
9b07a68e3a repair :show issue for external users 2016-05-31 17:33:38 +02:00
060f9687f1 use pry-byebug gem instead for pry (recommended for ruby 2.x) 2016-05-30 15:47:06 +02:00
2850e562cc changes in gemfile 2016-05-30 15:18:02 +02:00