README.md in danconia-0.2.3 vs README.md in danconia-0.2.4

- old
+ new

@@ -63,9 +63,21 @@ Product.new(price: 30, price_currency: 'ARS').price # => 30 ARS ``` Currently, there is no option to customize the names of the columns but should be fairly simple to implement if needed. +## Testing + +There is a FixedRates exchange that can be used during testing to supply static rates (see `examples/fixed_rates.rb`). Another possibility is to use the following helper: + +```ruby +require 'danconia/test_helpers' + +Danconia::TestHelpers.with_rates 'USDARS' => 3 do + Money(2, 'USD').exchange_to('ARS') # => 6.0 ARS +end +``` + ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`)