mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Merge pull request #968 from internetee/update-money-gem
Update "money" gem
This commit is contained in:
commit
87288421ed
3 changed files with 21 additions and 78 deletions
8
test/learning/money_test.rb
Normal file
8
test/learning/money_test.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue