Sebastian Serth
99bd46af1a
Align project files with CodeHarbor
...
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
2023-10-11 00:18:33 +02:00
Sebastian Serth
afe7428a6f
Ensure upload directory exists for symlink test
2023-01-16 11:16:03 +01:00
Sebastian Serth
813c3f50af
Touch file location before setting a symlink in specs
2022-09-04 19:15:15 +02:00
Sebastian Serth
9050f02b7a
Add additional test case for new CodeOcean::File#read method
2022-09-02 17:52:24 +02:00
Sebastian Serth
d762f976a8
Add new CodeOcean::File#read method
...
* With a new method, we can simplify our code to handle differences between file.content and file.native_file.read
2022-08-19 22:42:55 +02:00
Sebastian Serth
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
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
56c59a616e
Completely remove old non-structured errors and migrate existing ones.
2018-11-30 11:27:25 +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
Hauke Klement
d109663cb9
extracted boolean validation logic into stand-alone validator
2015-03-18 09:10:58 +01:00
Hauke Klement
839fdebb71
fixed broken test
2015-03-12 19:08:13 +01:00
Hauke Klement
a13d1738e2
fixed multiple style guide violations
2015-02-17 10:23:01 +01:00
Hauke Klement
8e374c6914
use #described_class, as suggested by RuboCop
2015-02-16 17:04:28 +01:00
Hauke Klement
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00