pkgsrc/devel/ruby-rspec-mocks
taca 7b7575bc6a 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).
2012-12-16 16:45:06 +00:00
..
DESCR
distinfo Update ruby-rspec-mocks to 2.12.0. 2012-12-16 16:45:06 +00:00
Makefile Update ruby-rspec-mocks to 2.12.0. 2012-12-16 16:45:06 +00:00
PLIST Update ruby-rspec-mocks to 2.12.0. 2012-12-16 16:45:06 +00:00