Skip to content

Commit

Permalink
Add money class to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocoelho committed Mar 14, 2013
1 parent a68dfdc commit d032019
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -38,8 +38,7 @@ describe Order do
end
```

The `describe` and `it` methods come from rspec-core. The `Order`, `LineItem`,
and `Item` classes would be from _your_ code. The last line of the example
The `describe` and `it` methods come from rspec-core. The `Order`, `LineItem`, `Item` and `Money` classes would be from _your_ code. The last line of the example
expresses an expected outcome. If `order.total == Money.new(5.55, :USD)`, then
the example passes. If not, it fails with a message like:

Expand Down

0 comments on commit d032019

Please sign in to comment.