mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 03:30:33 +02:00
Update money-rails
gem
This commit is contained in:
parent
98a95ec592
commit
3633d44822
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