rspec-1.2.7 has been released!
* <http://rspec.info> * <http://rubyforge.org/projects/rspec> * <http://github.com/dchelimsky/rspec/wikis> * <rspec-users@rubyforge.org> * <rspec-devel@rubyforge.org>
Behaviour Driven Development for Ruby.
Changes:
### Version 1.2.7 / 2009-06-22
* enhancments * added support for fakes using obj.stub(:method) { # implementation } * allow subject { self } (Jarmo Pertman). Closes #816. * friendly error message when a matcher returns nil on a failure message * add ruby_cmd option to SpecTask (Rick DeNatale). Closes #823. * also added missing specs for SpecTask - thanks Rick! * add support for generating matchers with fluent interfaces with the Matcher DSL
* bug fixes * NegativeOperatorMatcher now returns false (Wesley Beary). Closes #812. * derive MockExpectationError from Exception rather than StandardError (Kerry Buckley). Closes #830. * fix bug where multi-line failure messages weren't getting picked up by autotest (Jarmo Pertman). Closes #832. * --line_number now works for it { should xxx } format (assist from Fred Lee) * warn instead of raise when there is no description supplied for an example. Closes #840.
* <http://rspec.info> * <http://rubyforge.org/projects/rspec> * <http://github.com/dchelimsky/rspec/wikis> * <rspec-users@rubyforge.org> * <rspec-devel@rubyforge.org>