Update money-rails gem

This commit is contained in:
Artur Beljajev 2018-09-06 00:32:58 +03:00
parent 98a95ec592
commit 3633d44822
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