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.12.2.gem 0000072192 70.5 KB
rubygem-rspec-mocks.changes 0000002704 2.64 KB
rubygem-rspec-mocks.spec 0000002398 2.34 KB
Revision 6 (latest revision is 63)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 6)
- updated to version 2.12.2
 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.1...v.2.12.2)
 Bug fixes
 * Fix `and_call_original` to work properly for methods defined
   on a module extended onto an object instance (Myron Marston).
 * Fix `stub_const` with an undefined constnat name to work properly
   with constant strings that are prefixed with `::` -- and edge case
   I missed in the bug fix in the 2.12.1 release (Myron Marston).
 * Ensure method visibility on a partial mock is restored after reseting
   method stubs, even on a singleton module (created via `extend self`)
   when the method visibility differs between the instance and singleton
   versions (Andy Lindeman).
Comments 0
openSUSE Build Service is sponsored by