rspec version 1.2.9 has been released!
- http://rspec.info
- http://rubyforge.org/projects/rspec
- http://github.com/dchelimsky/rspec/wikis
- [email protected]
- [email protected]
Behaviour Driven Development for Ruby.
Changes:
Version 1.2.9 / 2009-10-05
-
enhancements
- manage backtrace-ignore patterns with Spec::Runner.configure (Martin
Emde). Closes #870. - friendly mock argument expectation failure message (Tim H.).
Closes
#868. - added double() as alias for stub() and mock()
- failure messages for doubles, mocks and stubs use the right name
- add let() method to assign memoized attributes (suggestion from
Stuart
Halloway). Closes #857. - add its method so you can say:
describe Array do
its(:length) { should == 0 }
(Stephen T.). Closes #833 - spec command automatically uses spec/spec.opts if it is present
(suggestion from Yehuda K.) - rspec now adds PROJECT_ROOT/lib and PROJECT_ROOT/spec to the load
path- determines PROJECT_ROOT by recursing up until it finds a directory
that has a ./spec directory (thanks to Scott T.) - supports require ‘spec_helper’
- supports running specs from the PROJECT_ROOT or any directory
below it - closes #733
- determines PROJECT_ROOT by recursing up until it finds a directory
- better handling of determining test names in test/unit/interop mode
- Joe Ferris
- closes #854
- manage backtrace-ignore patterns with Spec::Runner.configure (Martin
-
bug fixes
- Fixed problem with colorized output when writing to a file
- Corey Ehmke
- closes #777
- Fixed problem with colorized output when writing to a file
-
not really a bug fix or enhancement
- temporarily moved heckle feature to features-pending (waiting to see
what
happens with
http://rubyforge.org/tracker/index.php?func=detail&aid=26786&group_id=1513&atid=5921)
- temporarily moved heckle feature to features-pending (waiting to see