Commit Graph

269 Commits

Author SHA1 Message Date
7d4c4a4494 remove checksum 2019-12-16 17:43:47 +01:00
da8d31279c review points 2019-12-16 17:38:32 +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
06053d437d add specs for nil paths 2019-12-10 16:37:36 +01:00
4fd440b1f6 reenable webrequests in specs 2019-12-09 20:50:42 +01:00
46e7853465 specs for services 2019-12-09 20:35:49 +01:00
c89ee6c102 model and policy specs 2019-12-07 13:11:48 +01:00
5625fa63b0 add controller specs 2019-12-06 17:25:00 +01:00
924f94f254 Fix failing tests for new permissions 2019-11-29 15:50:50 +01:00
a088e4c9f6 Update Bundle and ignore failing specs 2019-11-29 11:28:26 +01:00
4bea81be31 add spec to satisfy codeclimate 2019-06-16 16:08:48 +02:00
f89d740671 fix test 2019-03-29 15:46:42 +01:00
7f1a7fbaa0 Fix error in displaying JStree and revert new default for FactoryBot 2019-03-11 23:43:02 +01:00
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
6c46566174 Merge pull request #242 from openHPI/fix_proxy_exercise
Add user (ID and type) to proxy exercise
2018-12-13 16:23:51 +01:00
ff701e52bb Merge pull request #244 from openHPI/specify_embed_options
Implement support for some basic embed options for work sheets via LTI
2018-12-13 16:21:55 +01:00
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
3665058435 Fix tests and slightly refactor some policies 2018-12-12 14:09:20 +01:00
b137e64020 Add StudyGroups with ExternalUsers only 2018-12-12 12:09:52 +01:00
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
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
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +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
9106ab182b Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:49:42 +01:00
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
a77a006e8d Update CSRF chain to prepend checks and resolve comments from PR
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +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
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
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
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
ac31afbd2a Clean Gemfile and perform bundle update
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
2c9f1a2917 Add tests for events controller 2018-08-15 14:40:59 +02:00
f5337fcb59 Add tests for statistics controller routes 2018-05-07 17:17:56 +02:00
d503b3c0f6 Fix editor_spec and adopt to current design of implementation page
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-03-09 15:23:29 +01:00
302f3a4896 Add Selenium support file for specs and include headless for Vagrant
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-03-09 15:23:29 +01:00
1f56f8fb78 Always create workspace path dir for DockerClient specs 2018-02-22 17:19:54 +01:00
d5e16c967d Reenable some LTI specs with mocked LTI parameter 2018-02-22 17:19:54 +01:00
eb4e620775 Allow folders to be created during DockerClient Spec 2018-02-22 17:19:54 +01:00
2a38db6e75 Move workspace path to subdir of /tmp to prevent deleting other files 2018-02-22 17:19:53 +01:00
3916f66695 Fix Factories 2018-02-22 17:19:53 +01:00
a9f33bc2c2 Merge branch 'master' into update-gemfile 2018-02-14 13:31:14 +01:00
6377c6ca0f Use skip instead of misused pending in oscillating tests 2018-01-31 13:06:18 +01:00
e934a29a45 Set oscillating tests to pending 2017-12-20 10:36:31 +01:00
901d35c59c updates for codeclimate 2017-11-29 09:57:27 +01:00
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
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00