| Path: | README.markdown |
| Last Update: | Fri Dec 31 22:52:33 -0500 2010 |
# RSpec Expectations
rspec-expectations adds `should` and `should_not` to every object and includes RSpec::Matchers, a library of standard matchers.
## Documentation
## Install
gem install rspec # for rspec-core, rspec-expectations, rspec-mocks
gem install rspec-expecctations # for rspec-core only
## Matchers
Matchers are objects used to compose expectations:
result.should eq("this value")
In that example, `eq("this value")` returns a `Matcher` object that compares the actual `result` to the expected `"this value"`.
## Contribute
See [github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)
## Also see