mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
8 lines
No EOL
210 B
Ruby
8 lines
No EOL
210 B
Ruby
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 |