RSpec's 'test double' framework, with support for stubbing and mocking

Edit Package rubygem-rspec-mocks
https://github.com/rspec/rspec-mocks

RSpec's 'test double' framework, with support for stubbing and mocking.

Refresh
Refresh
Source Files
Filename Size Changed
rspec-mocks-2.11.3.gem 0000065024 63.5 KB
rubygem-rspec-mocks.changes 0000000978 978 Bytes
rubygem-rspec-mocks.spec 0000002398 2.34 KB
Revision 3 (latest revision is 65)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 3)
- updated to version 2.11.3
 [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).
Comments 0
openSUSE Build Service is sponsored by