Skip to content

Commit

Permalink
make tests pass for money 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
weynsee committed Mar 25, 2012
1 parent 9290cfd commit 8ff4366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/open_exchange_rates_bank_test.rb
Expand Up @@ -51,6 +51,7 @@
:separator => ".",
:delimiter => ","
}
Money::Currency::STRINGIFIED_KEYS = Money::Currency::TABLE.keys.map{|k| k.to_s.downcase }
@bank.add_rate("USD", "BTC", 1 / 13.7603)
@bank.add_rate("BTC", "USD", 13.7603)
@bank.exchange(100, "BTC", "USD").cents.must_equal 138
Expand Down

0 comments on commit 8ff4366

Please sign in to comment.