Commit graph

11 commits

Author SHA1 Message Date
Philipp Rothmann
f8c9aaf35a fix: rubocop Metrics/BlockLength for config/routes 2023-01-02 13:31:00 +01:00
Philipp Rothmann
a4a3416735 fix: rubocop RSpec/VariableName snake_case for Authorization header 2023-01-02 13:31:00 +01:00
Philipp Rothmann
c6c5daa314 fix: rubocop RSpec/EmptyExampleGroup
this is fixed in newer rubocop-rspec versions.
see: https://github.com/rubocop/rubocop-rspec/issues/1177
2023-01-02 13:31:00 +01:00
Philipp Rothmann
c6560e0cea Add additional model and integration tests
This commit adds new tests for a better coverage.

integration/
  * home
  * supplier

models/
  * article
  * delivery
  * group_order_article
  * supplier

also adds a new factory for delivery

Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2022-11-27 12:39:57 +01:00
Patrick Gansterer
a81bb25512 Bundle update rubocop and auto correct style issues 2022-10-08 16:03:19 +02:00
Patrick Gansterer
9c9ebdf557 Bundle update rubocop and auto correct style issues 2022-05-27 23:10:07 +02:00
Patrick Gansterer
7e8c1d041d Auto correct rubocop style issues 2022-02-20 16:28:54 +01:00
Patrick Gansterer
06b035f2ea Add Rails 6 backport for ActiveRecord
This fixes the "can't create Thread: Resource temporarily unavailable" error.
2022-02-18 10:04:17 +01:00
Patrick Gansterer
ae99619bf5 Bundle update rubocop 2022-02-16 17:59:52 +01:00
Patrick Gansterer
ea2862fdef Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
Patrick Gansterer
fa63e6e81d Add RuboCop 2021-03-02 09:12:19 +01:00