Merge pull request #968 from internetee/update-money-gem

Update "money" gem
This commit is contained in:
Timo Võhmar 2018-09-19 16:57:07 +03:00 committed by GitHub
commit 87288421ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 78 deletions

View file

@ -0,0 +1,8 @@
require 'test_helper'
class MoneyLearningTest < ActiveSupport::TestCase
def test_default_currency_is_euro
money = Money.from_amount(1)
assert_equal Money::Currency.new(:eur), money.currency
end
end