Rspec-2.10 is released!

rspec-2.10 is released!

Cucumber docs

http://rubydoc.info/gems/rspec-core
http://rubydoc.info/gems/rspec-expectations
http://rubydoc.info/gems/rspec-mocks
http://rubydoc.info/gems/rspec-rails

API Docs (RDoc)

http://relishapp.com/gems/rspec-core
http://relishapp.com/gems/rspec-expectations
http://relishapp.com/gems/rspec-mocks
http://relishapp.com/gems/rspec-rails

rspec-core-2.10.0

full changelog:

Enhancements

  • Add prepend_before and append_after hooks (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_OPTS options.
  • example.description returns 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

full changelog:

Enhancements

  • Add new start_with and end_with matchers (Jeremy Wadsack)
  • Add new matchers for specifying yields (Myron Marson):
    • expect {...}.to yield_control
    • expect {...}.to yield_with_args(1, 2, 3)
    • expect {...}.to yield_with_no_args
    • expect {...}.to yield_successive_args(1, 2, 3)
  • match_unless_raises takes multiple exception args

Bug fixes

  • Fix be_within matcher to be inclusive of delta.
  • Fix message-specific specs to pass on Rubinius (John Firebaugh)

rspec-mocks-2.10.0

full changelog:

Bug fixes

  • fail fast when an exactly or at_most expectation is exceeded

rspec-rails-2.10.0

full changelog:

Bug fixes

  • render_views called in a spec can now override the config setting.
    (martinsvalin)
  • Fix render_views for anonymous controllers on 1.8.7. (hudge, mudge)
  • Eliminate use of deprecated process_view_paths
  • Fix false negatives when using route_to matcher with should_not
  • controller is no longer nil in config.before hooks
  • Change request.path_parameters keys to symbols to match real Rails
    environment (Nathan Broadbent)
  • Silence deprecation warnings in pre-2.9 generated view specs
    (Jonathan del Strother)

Those links failed for me as well, but the following will work:

https://www.relishapp.com/rspec/rspec-core/docs
https://www.relishapp.com/rspec/rspec-expectations/docs
https://www.relishapp.com/rspec/rspec-mocks/docs
https://www.relishapp.com/rspec/rspec-rails/docs

There you’ll find those RSpec projects are tested/documented with
Cucumber :slight_smile:

On Thu, May 3, 2012 at 8:37 PM, David C. [email protected]
wrote:

rspec-2.10 is released!

Thanks, David!

Cucumber docs

File: README — Documentation for rspec-core (3.12.2)
File: README — Documentation for rspec-expectations (3.12.3)
File: README — Documentation for rspec-mocks (3.12.5)
File: README — Documentation for rspec-rails (6.0.3)

What do you mean by “Cucumber docs”? I don’t see any Cucumber stuff
there.

API Docs (RDoc)

http://relishapp.com/gems/rspec-core
http://relishapp.com/gems/rspec-expectations
http://relishapp.com/gems/rspec-mocks
http://relishapp.com/gems/rspec-rails

These URLs are failing at the moment:
“We’re sorry, but something went wrong.
We’ve been notified about this issue and we’ll take a look at it
shortly.”

(I guess if you’ve been notified I don’t have to mention it here after
all!)

Corrections to documentation links:

On 4 May 2012, at 02:37, David C. wrote:

rspec-2.10 is released!

Cucumber docs

File: README — Documentation for rspec-core (3.12.2)
File: README — Documentation for rspec-expectations (3.12.3)
File: README — Documentation for rspec-mocks (3.12.5)
File: README — Documentation for rspec-rails (6.0.3)

http://relishapp.com/rspec/rspec-core
http://relishapp.com/rspec/rspec-expectations
http://relishapp.com/rspec/rspec-mocks
http://relishapp.com/rspec/rspec-rails

API Docs (RDoc)

http://relishapp.com/gems/rspec-core
http://relishapp.com/gems/rspec-expectations
http://relishapp.com/gems/rspec-mocks
http://relishapp.com/gems/rspec-rails

http://rubydoc.info/gems/rspec-core
http://rubydoc.info/gems/rspec-expectations
http://rubydoc.info/gems/rspec-mocks
http://rubydoc.info/gems/rspec-rails

* Report the total amount of time taken for the top slowest examples.

rspec-expectations-2.10.0

* `expect {...}.to yield_successive_args(1, 2, 3)`

Maybe you need some tests for this email template :wink:

cheers,
Matt


Freelance programmer & coach
Author, Search
Founder, http://www.relishapp.com/
Twitter, https://twitter.com/mattwynne