Sha256: 6ba22f51219ef0355b8105e94a9cc85adf92111214a0b4a50ccdeb0a32ad4ace

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

class MoneyHelperTest < ActiveSupport::TestCase
  include RedmineCrm::MoneyHelper

  def test_price_to_currency
    assert_equal '$3,265.65', price_to_currency(3265.65, "USD")
    assert_equal "3.265,65 ₽", price_to_currency(3265.65, "RUB")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redmine_crm-0.0.11 test/money_helper_test.rb
redmine_crm-0.0.10 test/money_helper_test.rb
redmine_crm-0.0.8 test/money_helper_test.rb