[ANN] rspec 1.2.5 Released

D

David Chelimsky

rspec version 1.2.5 has been released!

* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec/wikis>
* <[email protected]>

Behaviour Driven Development for Ruby.

Changes:

### Version 1.2.5 / 2009-04-29

* enhancements

* name argument to mock/stub is now optional (closes #782)
* you can do mock:)foo => "woo", :bar => "car")
* expect { this_block }.to
change{this.expression}.from(old_value).to(new_value)
* expect { this_block }.to raise_error
* better failiure messages for equal matcher (James Byrne). Closes #804.
* add stub_chain method
* also alias_method :stub, :stub!, so you can stub with less bang
* added options to example_group_proxy

* bug fixes

* ensure correct handling of ordered message expectations with duplicate
expectations (NigelThorne). Closes #793.
* get matcher backwards compat working w/ ruby 19
* don't define instance_exec unless it is not defined
* was doing a version check, but turns out that didn't cover alternative
implementations like JRuby
* fix bug where in some circumstances, loading lib/spec/interop/test.rb
raised an error (tsechingho). Closes #803.
* make sure specs only run against spec server when using drb (patch
from Chuck Grindel). Closes #797.
* remove deprecation warning in example_pending when using
FailingExamplesFormatter. Closes #794.
* Access explicit subject from nested groups of arbitrary depth. Closes #756.

* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec/wikis>
* <[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,130
Members
46,689
Latest member
liammiller

Latest Threads

Top