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