Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#to_money works incorrect with non 100 subunit currencies #12

Closed
valodzka opened this issue Jul 8, 2010 · 2 comments
Closed

#to_money works incorrect with non 100 subunit currencies #12

valodzka opened this issue Jul 8, 2010 · 2 comments
Labels

Comments

@valodzka
Copy link

valodzka commented Jul 8, 2010

This fails

specify "money should work with non 100 subunit/unit currencies" do
  Money.default_currency = 'TND'
  10.to_money.should == Money.new(10_000, 'TND')
end
@semmons99
Copy link
Member

failing spec added in commit 106b6b1

@semmons99
Copy link
Member

fixed with commit fe5cb03

Losangelosgenetics pushed a commit to Losangelosgenetics/money that referenced this issue Mar 13, 2020
Losangelosgenetics pushed a commit to Losangelosgenetics/money that referenced this issue Mar 13, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants