API Docs (RDoc)
http://rubydoc.info/gems/rspec-core
http://rubydoc.info/gems/rspec-expectations
http://rubydoc.info/gems/rspec-mocks
http://rubydoc.info/gems/rspec-rails
Cucumber docs
http://relishapp.com/rspec/rspec-core
http://relishapp.com/rspec/rspec-expectations
http://relishapp.com/rspec/rspec-mocks
http://relishapp.com/rspec/rspec-rails
rspec-core-2.10.0
Enhancements
- Add
prepend_beforeandappend_afterhooks (preethiramdev)- intended for extension libs
- restores rspec-1 behavior
- Reporting of profiled examples (moro)
- Report the total amount of time taken for the top slowest examples.
- Report what percentage the slowest examples took from the total runtime.
Bug fixes
- Properly parse
SPEC_OPTSoptions. example.descriptionreturns the location of the example if there is no explicit description or matcher-generated description.- RDoc fixes (Grzegorz Ĺwirski)
- Do not modify example ancestry when dumping errors (Michael Grosser)
rspec-expectations-2.10.0
Enhancements
- Add new
start_withandend_withmatchers (Jeremy Wadsack) - Add new matchers for specifying yields (Myron Marson):
expect {...}.to yield_controlexpect {...}.to yield_with_args(1, 2, 3)expect {...}.to yield_with_no_argsexpect {...}.to yield_successive_args(1, 2, 3)
match_unless_raisestakes multiple exception args
Bug fixes
- Fix
be_withinmatcher to be inclusive of delta. - Fix message-specific specs to pass on Rubinius (John Firebaugh)
rspec-mocks-2.10.0
Bug fixes
- fail fast when an
exactlyorat_mostexpectation is exceeded
rspec-rails-2.10.0
Bug fixes
render_viewscalled in a spec can now override the config setting. (martinsvalin)- Fix
render_viewsfor anonymous controllers on 1.8.7. (hudge, mudge) - Eliminate use of deprecated
process_view_paths - Fix false negatives when using
route_tomatcher withshould_not controlleris no longer nil inconfig.beforehooks- Change
request.path_parameterskeys to symbols to match real Rails environment (Nathan Broadbent) - Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del Strother)