Sha256: 977590a3538fb0b75c17ebaf3da935e17b968f1cfef3e3616a87610f7e087400

Contents?: true

Size: 773 Bytes

Versions: 10

Compression:

Stored size: 773 Bytes

Contents

# RSpec Expectations

rspec-expectations adds `should` and `should_not` to every object and includes
several standard matchers in RSpec::Matchers

## Install

    gem install rspec               # for rspec-core, rspec-expectations, rspec-mocks
    gem install rspec-expectations  # for rspec-expectations 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"`.

## 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)

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
horseman-0.0.4 vendor/ruby/1.9.1/gems/rspec-expectations-2.7.0/README.md
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-expectations-2.7.0/README.md
horseman-0.0.2 vendor/ruby/1.9.1/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.5 vendor/bundle/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.4 vendor/bundle/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.3 vendor/bundle/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.2 vendor/bundle/gems/rspec-expectations-2.7.0/README.md
nutshell-crm-0.0.1 vendor/bundle/gems/rspec-expectations-2.7.0/README.md
rspec-expectations-2.7.0 README.md