Sha256: a51ae5ee616297055efc6ccaa193e20e058206a93789bc5677700a89b1b864e0

Contents?: true

Size: 686 Bytes

Versions: 6

Compression:

Stored size: 686 Bytes

Contents

# RSpec Expectations

rspec-expectations adds `should` and `should_not` to every object and includes
RSpec::Matchers, a library of standard matchers.

# 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"`.

#### Also see

* [http://github.com/rspec/rspec](http://github.com/rspec/rspec)
* [http://github.com/rspec/rspec-core](http://github.com/rspec/rspec-core)
* [http://github.com/rspec/rspec-mocks](http://github.com/rspec/rspec-mocks)
* [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-expectations-2.0.0.beta.16 README.markdown
rspec-expectations-2.0.0.beta.15 README.markdown
rspec-expectations-2.0.0.beta.14 README.markdown
rspec-expectations-2.0.0.beta.13 README.markdown
rspec-expectations-2.0.0.beta.12 README.markdown
rspec-expectations-2.0.0.beta.11 README.markdown