Notes:
Behaviour Driven Development for Ruby.
Changes:
=== Version 1.2.9 (git)
* enhancements
* manage backtrace-ignore patterns with Spec::Runner.configure (Martin
Emde). Closes #870.
* friendly mock argument expectation failure message (Tim Harper). 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 Touset). Closes #833
* spec command automatically uses spec/spec.opts if it is present
(suggestion from Yehuda Katz)
* 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 Taylor)
* supports require 'spec_helper'
* supports running specs from the PROJECT_ROOT or any directory
below it
* closes #733
to the load path so you don't have to
* rspec now adds PROJECT_ROOT/spec to the load path so you can just require
'spec_helper'
* 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)
|