[rspec-users] [ANN] rspec 1.2.8 Released
ben at benmabey.com
Fri Jul 17 00:39:57 EDT 2009
David Chelimsky wrote:
> rspec version 1.2.8 has been released!
> * <http://rspec.info>
> * <http://rubyforge.org/projects/rspec>
> * <http://github.com/dchelimsky/rspec/wikis>
> * <rspec-users at rubyforge.org>
> * <rspec-devel at rubyforge.org>
> Behaviour Driven Development for Ruby.
> ### Version 1.2.8 / 2008-07-16
> * enhancements
> * better messages for should[_not] be_nil (Chad Humphries and Rob Sanheim)
> * should and should_not accept optional custom message
> (suggestion from Rob Sanheim)
Ahh, very nice. I've been wanting something like this for a while. For
those interested in how to use this feature check out the examples in
this cucumber feature for it:
Thanks for the release.
> * result.should be_nil, "expected result to be nil"
> * added 'spec/stubs/cucumber' to plug RSpec's stubbing framework into
> Cucumber scenarios.
> * added unstub method to remove a stub mid-example (Scott Taylor). Closes
> * add more readable diff when expected and actual are hashes (Ryan Bigg).
> Closes #848.
> * bug fixes
> * fixed --line option for ruby 1.9.1
> * fix stub_chain conflict between two chains starting with the same message
> (Mike Rohland). Closes #846.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users