summaryrefslogtreecommitdiff
path: root/devel/nspr
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-12-16 16:45:06 +0000
committertaca <taca@pkgsrc.org>2012-12-16 16:45:06 +0000
commit07007905bb7be86b497490b7395799e88c2917b6 (patch)
tree285829a42973c38f5e297edc0a4c8a7090feff59 /devel/nspr
parent2fc1d03663fb69d48585832c7629ee01379523c8 (diff)
downloadpkgsrc-07007905bb7be86b497490b7395799e88c2917b6.tar.gz
Update ruby-rspec-mocks to 2.12.0.
### 2.12.0 / 2012-11-12 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.3...2.12.0) Enhancements * `and_raise` can accept an exception class and message, more closely matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError, "message")`) (Bas Vodde) * Add `and_call_original`, which will delegate the message to the original method (Myron Marston). Deprecations: * Add deprecation warning when using `and_return` with `should_not_receive` (Neha Kumari) ### 2.11.3 / 2012-09-19 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3) Bug fixes * Fix `:transfer_nested_constants` option of `stub_const` so that it doesn't blow up when there are inherited constants. (Myron Marston) * `any_instance` stubs can be used on classes that override `Object#method`. (Andy Lindeman) * Methods stubbed with `any_instance` are unstubbed after the test finishes. (Andy Lindeman) * Fix confusing error message when calling a mocked class method an extra time with the wrong arguments (Myron Marston).
Diffstat (limited to 'devel/nspr')
0 files changed, 0 insertions, 0 deletions