Skip to content
This repository
  • 66 commits
  • 45 files changed
  • 0 comments
  • 9 contributors
Jan 26, 2012
Justin Ko Allow a `as_null_object` to be passed to `with`. Closes #98 de283b3
Jan 29, 2012
Corey Haines Better message if #and_raise exception type requires constructor params 6fe4168
Corey Haines Make name of sample exception a bit more clear as to its purpose b92f2cc
Justin Ko Don't hit `__mock_proxy` unless you need to. This avoids a Rubby 1.8.…
…7 Proc equality bug: https://gist.github.com/1702877

This commit fixes the build for 1.8.7
9a201da
Jan 30, 2012
David Chelimsky Merge pull request #100 from coreyhaines/and_raise_big_arity_construc…
…tor_better_message

Better message if #and_raise exception type requires constructor params

- Fixes #99.
7ce8c6f
David Chelimsky More detailed error message when and_raise gets a class whose constru…
…ctor requires 1 or more args.

- #99, #100.
1f28dcd
David Chelimsky clean up some specs 5897343
Feb 02, 2012
Nicholas Rutherford Use the null object, rather than re-assigning another double 9a095fb
David Chelimsky Merge pull request #104 from nruth/patch-1
Use the null object, rather than re-assigning another double
f999770
Feb 03, 2012
Aubrey Rhodes Fixing blocks not being passed to stubs f0c7643
Feb 05, 2012
David Chelimsky Merge pull request #105 from aubreyrhodes/fix_stub_not_passing_block
Fixing blocks not being passed to stubs
42b3ef7
David Chelimsky Simplify some examples.
- #105.
0b4eab2
David Chelimsky Changelog for #105 6743cd7
Feb 08, 2012
preethiramdev Making ordering common to all object per spec 221594b
preethiramdev Adding spec to test the ordering is reset each time c59981d
David Chelimsky Merge pull request #106 from preethiramdev/issue-101
Support order constraints across objects
b4e6746
David Chelimsky Changelog for #101, #106 35f67e6
David Chelimsky dev: restore random ordering 0ce8c71
David Chelimsky clean up order constraint spec 3f94b50
David Chelimsky clear expectation_ordering rather than creating a new one for each ex…
…ample
c8b9948
David Chelimsky some mocks are not mocks 17c259e
David Chelimsky refactoring: those syms are messages dce2d2c
Feb 11, 2012
Justin Ko No need to require yaml. 56a5ccd
Feb 17, 2012
preethiramdev Initializing message expectation args to match any args 917dca2
David Chelimsky Merge pull request #109 from c42engineering/expectation_args
Initialize child message expectation args to match any args (See #103)
408a09c
David Chelimsky Changelog for #109 59c41e8
David Chelimsky minor refactoring: rename args_expectation to argument_expectation (i…
…nternal)
4c32db1
David Chelimsky clean up and enhance spec for mixing stubs and expectations 117f2cb
Feb 20, 2012
preethiramdev should receiving stubbed atleast_once removes matching stub 235c8cc
Feb 24, 2012
preethiramdev Fixing method called on nil warning 251bf2a
David Chelimsky Merge pull request #110 from c42engineering/issue-103
should_receive(:x).at_least_once clears any stubs on :x

- Fixes #103
6e23ca9
David Chelimsky Revert "Merge pull request #110 from c42engineering/issue-103"
Turns out this change is significantly backward-incompatible that we're
going to have to wait for rspec-mocks-3 to release it (or similar)

This reverts commit 6e23ca9, reversing
changes made to 117f2cb.
3bb19cb
Feb 27, 2012
David Chelimsky check if @_null_object is defined to avoid warning when it is not 185d47e
Mar 11, 2012
David Chelimsky bump to 2.9.0.rc1 c83ae1c
David Chelimsky restore some gems to Gemfile e7d92e4
David Chelimsky ci: don't need to exclude development env any longer 377c32b
Mar 12, 2012
David Chelimsky align gemspec with other rspec libs 21d21ce
David Chelimsky bump to 2.9.0.rc2 06ce1ab
Mar 17, 2012
David Chelimsky bump to 2.9.0 e62d381
David Chelimsky dev: add a script to download ruby-debug-base19-0.11.26.gem and linec…
…ache19-0.5.13.gem to a local cache

[ci skip]
eb5da85
David Chelimsky only one ref to yard please c8a5ef5
Mar 20, 2012
Myron Marston Extract mock logic into TestDouble module.
This allows objects to be treated as a pure test double without needing to subclass RSpec::Mocks::Mock.

Closes #117.
af3f296
Mar 27, 2012
Maeve Revels and_raise should support intentionally raising an ArgumentError 38ddf48
Myron Marston Merge pull request #121 from maeve/fix-raising-argumenterrors
and_raise should support intentionally raising an ArgumentError
2478a16
Apr 15, 2012
David Chelimsky fail fast when an exactly or at_most expectation is exceeded fb9c76c
David Chelimsky minor refactoring for clarity 381c7c8
David Chelimsky a little more refactoring 764680c
David Chelimsky Refactoring: collapse concepts of method_block and return_block into
implementation.
f4f4ec3
Apr 17, 2012
David Chelimsky Make the fact that you can set message expectations on class objects
more obvious.

- Closes #125.

[ci skip]
155cef3
Cory Foy Correct spelling of "Responses" 40a2a0f
Apr 18, 2012
Justin Ko Merge pull request #126 from CoryFoy/patch-1
Correct spelling of "Responses"
668ad3d
Apr 21, 2012
David Chelimsky one line on one line fa13314
Apr 22, 2012
David Chelimsky shorten file extension 707f515
David Chelimsky align config files across rspec projects 4b47e54
David Chelimsky dev: align Gemfiles across rspec projects b4204fb
Apr 30, 2012
David Chelimsky update yard to 0.8 1e4c1e6
May 03, 2012
David Chelimsky refactor subject out of one spec 604dc5d
David Chelimsky update changelog for 2.10 release 4862911
David Chelimsky bump to 2.10.0 6732d62
May 04, 2012
David Chelimsky rename some things in a spec d4b983c
David Chelimsky Fixed bug where at_least(0) failed when message was received
- Fixes #132
6b188a8
David Chelimsky Make sure at_least(0) passes even when never called
- Fixes #132 again
73be258
May 05, 2012
David Chelimsky dev: config for :focus 877dfa6
David Chelimsky dev: refactor a spec 2e9d990
David Chelimsky should_not_receive ignores and_return
- See #132
70aaf1c
David Chelimsky bump to 2.10.1 112b430