Fix Money deprecation warning w/ :default_currency

This removes the deprecation warning:

```
[WARNING] The default currency will change from `USD` to `nil` in the
next major release. Make sure to set it explicitly using
`Money.default_currency=` to avoid potential issues
```
This commit is contained in:
Pau Perez
2021-03-08 10:48:25 +01:00
parent ccfb6ae26e
commit 41011ce28a

View File

@@ -1 +1,2 @@
Money.rounding_mode = BigDecimal::ROUND_HALF_EVEN
Money.default_currency = Money::Currency.new('USD')