To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorChangelog
Dev
- Bug fixes
- pass a hash to
any_instance.stub
. (Justin Ko)
- pass a hash to
2.6.0 / 2011-05-12
Enhancements
- Add support for
any_instance.stub
andany_instance.should_receive
(Sidu Ponnappa and Andy Lindeman)
- Add support for
Bug fixes
- fix bug in which multiple chains with shared messages ending in hashes failed to return the correct value
2.5.0 / 2011-02-05
- Bug fixes
- message expectation counts now work in combination with a stub (Damian Nurzynski)
- fix failure message when message received with incorrect args (Josep M. Bach)
2.4.0 / 2011-01-02
No functional changes in this release, which was made to align with the
rspec-core-2.4.0 release.
2.3.0 / 2010-12-12
- Bug fixes
- Fix our Marshal extension so that it does not interfere with objects that have their own @mock_proxy instance variable. (Myron Marston)
2.2.0 / 2010-11-28
Enhancements
- Added "rspec/mocks/standalone" for exploring the rspec-mocks in irb.
Bug fix
- Eliminate warning on splat args without parens (Gioele Barabucci)
- Fix bug where obj.should_receive(:foo).with(stub.as_null_object) would
pass with a false positive.
2.1.0 / 2010-11-07
- Bug fixes
- Fix serialization of stubbed object (Josep M Bach)
2.0.0 / 2010-10-10
2.0.0.rc / 2010-10-05
Enhancements
- support passing a block to an expecttation block (Nicolas Braem)
- obj.should_receive(:msg) {|&block| ... }
- support passing a block to an expecttation block (Nicolas Braem)
Bug fixes
- Fix YAML serialization of stub (Myron Marston)
- Fix rdoc rake task (Hans de Graaff)
2.0.0.beta.22 / 2010-09-12
- Bug fixes
- fixed regression that broke obj.stub_chain(:a, :b => :c)
- fixed regression that broke obj.stub_chain(:a, :b) { :c }
- respond_to? always returns true when using as_null_object
Last published over 7 years ago by .