RSpec's 'test double' framework, with support for stubbing and mocking
https://github.com/rspec/rspec-mocks
RSpec's 'test double' framework, with support for stubbing and mocking.
- Devel package for openSUSE:Factory
-
11
derived packages
- Links to openSUSE:Factory / rubygem-rspec-mocks
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:ruby:extensions/rubygem-rspec-mocks && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
rspec-mocks-2.14.2.gem | 0000089600 87.5 KB | |
rubygem-rspec-mocks.changes | 0000005142 5.02 KB | |
rubygem-rspec-mocks.spec | 0000002819 2.75 KB |
Revision 9 (latest revision is 65)
- updated to version 2.14.2 Bug Fixes: * Fix `as_null_object` doubles so that they return `nil` from `to_ary` (Jon Rowe). * Fix regression in 2.14 that made `stub!` (with an implicit receiver) return a test double rather than stub a method (Myron Marston). ### 2.14.1 / 2013-07-07 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0...v2.14.1) Bug Fixes: * Restore `double.as_null_object` behavior from 2.13 and earlier: a double's nullness persisted between examples in earlier examples. While this is not an intended use case (test doubles are meant to live for only one example), we don't want to break behavior users rely on in a minor relase. This will be deprecated in 2.99 and removed in 3.0. (Myron Marston) ### 2.14.0 / 2013-07-06 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0.rc1...v2.14.0) Enhancements: * Document test spies in the readme. (Adarsh Pandit) * Add an `array_including` matcher. (Sam Phippen) * Add a syntax-agnostic API for mocking or stubbing a method. This is intended for use by libraries such as rspec-rails that need to mock or stub a method, and work regardless of the syntax the user has
Comments 0