foodsoft/spec/models
Philipp Rothmann 33034e66b8 fix: add null checks for articles convert_units
Prevents division by zero exception because of a unit beeing 0.
A Unit becomes also zero e.g. when a comma symbol is used Unit.new("0,9kg") == 0

fixes #1014
2023-06-22 22:49:22 +02:00
..
article_spec.rb fix: add null checks for articles convert_units 2023-06-22 22:49:22 +02:00
bank_transaction_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
delivery_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
group_order_article_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
group_order_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
order_article_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
order_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
ordergroup_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
supplier_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00
user_spec.rb chore: rubocop 2023-06-09 17:35:05 +02:00