33034e66b8
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 |
||
---|---|---|
.. | ||
controllers | ||
factories | ||
fixtures | ||
integration | ||
lib | ||
models | ||
requests/api/v1 | ||
support | ||
app_config.yml | ||
i18n_spec.rb | ||
spec_helper.rb | ||
swagger_helper.rb |