Skip to content

Commit

Permalink
Docs: remove unnecessary step to use RSpec helper
Browse files Browse the repository at this point in the history
`MoneyRails::TestHelpers` is included in RSpec examples automatically when `money-rails/test_helpers.rb` is required.
  • Loading branch information
iancanderson committed Jun 23, 2015
1 parent 541b674 commit 42d2575
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -456,9 +456,7 @@ So `humanized_money` will ignore `config.default_format = { no_cents_if_whole: f
### Testing

If you use Rspec there is an test helper implementation.
Just write `require "money-rails/test_helpers"` in spec_helper.rb and
`include MoneyRails::TestHelpers` inside a describe block you want to
use the helper.
Just write `require "money-rails/test_helpers"` in spec_helper.rb.

* the `monetize` matcher

Expand Down

0 comments on commit 42d2575

Please sign in to comment.