Sha256: 266e6e53fbbe8944efb153559631fbfabc2d29250cda43a9f9033e68660bc862

Contents?: true

Size: 1021 Bytes

Versions: 8

Compression:

Stored size: 1021 Bytes

Contents

# RSpec Expectations

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

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-expectations/v/2-0)
* [RDoc](http://rubydoc.info/gems/rspec-expectations/2.0.1/frames)

## 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 [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)

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

8 entries across 8 versions & 2 rubygems

Version Path
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.1.2 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.1.1 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.1.0 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.0.3 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.0.2 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
vim-jar-0.0.1 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown
rspec-expectations-2.1.0 README.markdown