Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: rspec/rspec-mocks
...
head fork: rspec/rspec-mocks
This comparison is big! We're only showing the most recent 250 commits
Commits on Feb 12, 2011
David Chelimsky dchelimsky regexps in Guardfile 5ac6d83
David Chelimsky dchelimsky fix bug in which multiple chains with shared messages ending in hashes
failed to return the correct value

- also documented stub_chain(:a, :b => :c) format in feature
ca2d837
Commits on Feb 20, 2011
Myron Marston myronmarston Allow users to specify return values by passing a block to #at_least,…
… #at_most and #exactly.

- @mock.should_receive(:to_s).at_least(:once) { "return val" }
- @mock.should_receive(:to_s).at_most(:once) { "return val" }
- @mock.should_receive(:to_s).exactly(:once) { "return val" }

Each of the above now work but previously returned nothing since the block was discarded.

Closes #40.
0f09860
Myron Marston myronmarston Fix yaml serialization when using Psych.
Without these changes, I was getting SystemStackErrors when calling YAML.dump(stubbed_object) or stubbed_object.to_yaml.

To test this, you may need to reinstall ruby 1.9.2 with psych support.  On OSX with homebrew and rvm, this will do the trick:

brew install libyaml
rvm install ruby-1.9.2 --with-libyaml-dir=/usr/local

Closes #36.
8ce0c12
Commits on Feb 26, 2011
Myron Marston myronmarston Don't patch Psych.dump unless Psych is loaded and responds to #dump.
This fixes errors with running the specs on 1.9.2 w/o psych support compiled in.
4b6774d
David Chelimsky dchelimsky docs 6551f1a
David Chelimsky dchelimsky move some specs around 5f02fb6
Commits on Mar 06, 2011
Justin Ko justinko #as_null_object cucumber feature f89af24
Commits on Mar 08, 2011
David Chelimsky dchelimsky format doc ef127a5
Commits on Mar 23, 2011
Sidu Ponnappa kaiwren Not so dependent on a particular ruby implementation. Closes #44 Closes 8e2c1a2
Commits on Mar 25, 2011
David Chelimsky dchelimsky upgrade cucumber and aruba 20e9601
Commits on Mar 28, 2011
David Chelimsky dchelimsky update a couple of specs to more 21st century syntax 82c5d66
David Chelimsky dchelimsky Treat block passed to `with` as a dynamic matcher or a return value, but
not both.

This fixes issue #254 in rspec-core.

The `with` method accepts two forms:

  foo.should_receive(:bar).with(:arg) { ... }
  foo.should_receive(:bar).with { ... }

In the first form, we expect foo.bar(:arg), and when it is received it
returns the value returned by eval'ing the block.

In the second form, the block itself is treated as an argument matcher.
The bug was that it was being eval'd twice because it was being treated
as both an argument matcher and a computed return value.
042784a
Commits on Mar 29, 2011
Myron Marston myronmarston Pull gems from github when they are not available locally on the file…
…system.
fdd4d3d
Myron Marston myronmarston Add travis config file. 52356e5
Sidu Ponnappa kaiwren Add support for any_instance:
- MyClass.any_instance.stub(:m)
- MyClass.any_instance.should_receive(:m)
- includes stub and mock APIs including
  - and_return, and_raise, and_yield
  - once, twice, exactly, any_number_of_times, never, at_least, at_most

- Closes #46.
- Closes #10.
699a5c2
alindeman alindeman Use #method_defined? instead of #instance_methods.include?.
- All specs now pass on MRI 1.8.7 and MRI 1.9.2.
b2d968a
David Chelimsky dchelimsky Expect (failing) that any_instance.should_receive should fail if no
instance is created during the course of an example.
099b74e
Sidu Ponnappa kaiwren Got exactly one instance done except for never and any_number_of_times 9483c14
Sidu Ponnappa kaiwren Completed handling never and any_number_of_times 81108f0
Sidu Ponnappa kaiwren Fixed ordering of missed method names b48d777
Commits on Mar 30, 2011
alindeman alindeman Add feature for simple any_instance.stub use case 1f64f6d
alindeman alindeman Add feature for any_instance.should_receive use case d0d5e99
Commits on Mar 31, 2011
David Chelimsky dchelimsky Changlog and some minor tweaks
- removed unnecessary conditional
- reduced nesting in any_instance_spec
2d7caa5
Commits on Apr 01, 2011
alindeman alindeman Add new features to .nav file (for Relish). Closes #50 5deee72
Commits on Apr 02, 2011
David Chelimsky dchelimsky no need for begin/rescue in this example 646ff61
Commits on Apr 03, 2011
Myron Marston myronmarston Only build with the rubies travis has available. ca9c16b
Commits on Apr 10, 2011
David Chelimsky dchelimsky update Gemfile to address build issues with 1.9.1 3e31596
David Chelimsky dchelimsky more rubies for travis 877b268
David Chelimsky dchelimsky Dev: fully qualify class names for 1.9.1 9ae8c92
David Chelimsky dchelimsky add travis build status 1b59f2f
Commits on Apr 17, 2011
Sidu Ponnappa kaiwren Ensure that any_instance expectations are properly cleaned up between…
… examples.

- Closes #52.
7bf5851
David Chelimsky dchelimsky some refactoring of any_instance ef65d36
David Chelimsky dchelimsky Only reset any_instance recorder once. 189fda0
David Chelimsky dchelimsky fix scoping issue in spec for 1.9.1 b8d9800
David Chelimsky dchelimsky words in features 66737e5
David Chelimsky dchelimsky Mock#to_ary raises a NoMethodError
- supports Array#flatten with a Mock in the Array
- Closes #31.
1907cf9
David Chelimsky dchelimsky add feature to nav 2c1d323
David Chelimsky dchelimsky prep for 2.6.0.rc1 ce07e70
Commits on Apr 18, 2011
David Chelimsky dchelimsky comment aruba/cukes in Gemfile eb01c90
David Chelimsky dchelimsky update changelog 07feeb7
David Chelimsky dchelimsky bump to 2.6.0.rc2 468352c
David Chelimsky dchelimsky update the changelog 11354e2
Commits on Apr 19, 2011
David Chelimsky dchelimsky reinstate cucumber and aruba ce11e75
Commits on Apr 20, 2011
David Chelimsky dchelimsky doc updates f11203d
David Chelimsky dchelimsky minor refactorings 79cf9aa
Commits on Apr 23, 2011
Sidu Ponnappa kaiwren Support multiple calls to any_instance in the same example.
- Closes #54.
a496104
Commits on Apr 27, 2011
aakash dharmadhikari aakashd adding idea files to ignore list d228f34
Commits on Apr 30, 2011
David Chelimsky dchelimsky prep for 2.6.0.rc3 b023531
Commits on May 01, 2011
David Chelimsky dchelimsky bump to 2.6.0.rc4 0d05d6c
Sidu Ponnappa kaiwren Merge branch 'master' of github.com:c42engineering/rspec-mocks e70e741
Commits on May 06, 2011
David Chelimsky dchelimsky prep for 2.6.0.rc5 4a02ebc
David Chelimsky dchelimsky prep for rc6 ba78f90
Commits on May 12, 2011
David Chelimsky dchelimsky prep for 2.6.0 3f1d77f
Commits on May 21, 2011
David Chelimsky dchelimsky ci: relax rake version constraint 3aa7c98
Commits on May 22, 2011
Justin Ko justinko Refactor any_instance to be instance agnostic - Closes #58 8e8e62f
Justin Ko justinko Merge branch 'any_instance' 09e53d2
Commits on May 25, 2011
Justin Ko justinko ew no more hashitis 7b4fe58
Justin Ko justinko more cleanup f8ba23d
Justin Ko justinko cleanup f492200
Justin Ko justinko more cleanup 1da7c41
Justin Ko justinko More module scoping for Ruby 1.9.1 e21b5d1
Commits on May 27, 2011
Justin Ko justinko Support for passing a hash to stub for any_instance. Closes #61 a0c14c9
Justin Ko justinko changelog 150a933
Justin Ko justinko combine invocation orders 0e17c96
Commits on May 28, 2011
Justin Ko justinko Use stub, not stub! f523e3c
David Chelimsky dchelimsky dev: add task to remove generated rbc files bcb76da
David Chelimsky dchelimsky bump to rake 0.9 af5a421
David Chelimsky dchelimsky could just use Ruby (thx mat813) a8ea8c6
Commits on May 30, 2011
Justin Ko justinko spec to verify that an expectation on a method with a default argumen…
…t outputs the correct message.

Closes #62
27753c8
Commits on May 31, 2011
Justin Ko justinko Restore @kaiwren any_instance implementation. 628eb91
Sidu Ponnappa kaiwren Merge branch 'master' of git://github.com/rspec/rspec-mocks de93b40
Sidu Ponnappa kaiwren split any_instance into multiple files and get to a green build as pr…
…ep to replicate issue #58
2de8024
Sidu Ponnappa kaiwren Added specs replicating issue #58 27367ce
David Chelimsky dchelimsky dev: constrain cucumber to 0.10.2 since 0.10.3 included breaking changes aff2f95
Commits on Jun 02, 2011
David Chelimsky dchelimsky relish docs e8994a7
Commits on Jun 08, 2011
Sidu Ponnappa kaiwren Looks like we've got issue #58 solved except the tests don't match th…
…e exception raised
fdbce6c
Commits on Jun 10, 2011
Mikhail Dieterle Mik-die fixed bug, when respond_to? returns true for method :to_ary, and then…
…, when this method calls, raise NoMethodError. For example, at this point: https://github.com/rails/rails/blob/v3.0.8/activesupport/lib/active_support/core_ext/array/wrap.rb#L43
e372443
Mikhail Dieterle Mik-die Mock doesn't respond to :to_ary 918c32f
Commits on Jun 11, 2011
Justin Ko justinko Merge pull request #63 from Mik-die/patch-1
respond_to? returns true for :to_ary, but call of :to_ary raises NoMethodError
b101687
Justin Ko justinko Don't need "be_" e64fad4
Justin Ko justinko changelog 4e28546
David Chelimsky dchelimsky ignore .rbc files 0fd2662
David Chelimsky dchelimsky dev: lock gem versions - rake-0.9.2, aruba-0.3.6 c76eb8a
David Chelimsky dchelimsky ci: tell travis to run bin/rake acb2f54
David Chelimsky dchelimsky dev:clean up Rakefile 0e88ecf
David Chelimsky dchelimsky dev: ficks taipoh e96faf3
David Chelimsky dchelimsky dev: add rdoc to Gemfile 41e56e3
David Chelimsky dchelimsky dev: lock the gherkin version 6f75d7f
David Chelimsky dchelimsky dev: remove dep on rdoc 2c55d9a
David Chelimsky dchelimsky dev: git ignore yard artifacts 103238d
David Chelimsky dchelimsky update binstubs 29f470e
Commits on Jun 12, 2011
Sidu Ponnappa kaiwren Merge to master 8f16765
Commits on Jun 13, 2011
Myron Marston myronmarston Use a better method of detecting psych.
The psych/syck specs were failing on 1.9.1 on travis ci.  You can compile ruby with the libyaml option but not actually have psych compiled in, apparently.
17f3518
David Chelimsky dchelimsky dev: remove autotest/discover 7f0448e
David Chelimsky dchelimsky dev: remove executables from gemspec 42b2edf
David Chelimsky dchelimsky dev: constrain file list in gemspec 7dd57f4
Commits on Jun 17, 2011
alindeman alindeman [#58] Ignore the fact that should_receive expectations will fail to b…
…e satisfied in tests that raise errors earlier
36d9781
Sidu Ponnappa kaiwren Merge pull request #4 from alindeman/issue58
Ignore the fact that should_receive expectations will fail to be satisfied in tests that raise errors earlier
e786c2a
Sidu Ponnappa kaiwren Merge branch 'issue58' of github.com:c42engineering/rspec-mocks into …
…issue58
3c129ae
Sidu Ponnappa kaiwren Fixed broken feature related to multiple method stubs and added anoth…
…er for any_instance.stub.with - this should close Issue #58
e542b18
Commits on Jun 19, 2011
Justin Ko justinko Merge pull request #65 from c42engineering/issue58
Support for any_instance argument matching. Closes #58
5a1666c
Justin Ko justinko changelog b970638
Commits on Jun 21, 2011
David Chelimsky dchelimsky ci: exclude local dev gems from travis bundle b9991bd
David Chelimsky dchelimsky dev: bump aruba timeout to 5 seconds f5b226f
David Chelimsky dchelimsky ruby-1.9.1: use fully qualified names in specs c77dbeb
David Chelimsky dchelimsky dev: remove bin dir from git fae8749
Commits on Jun 23, 2011
David Chelimsky dchelimsky bump cukes to 1.0 b6d93c5
David Chelimsky dchelimsky dev: constrain rcov to ruby 1.8 builds 54ec0a1
Commits on Jun 28, 2011
Tibor Claassen Check for #failure_message_for_should or #failure_message instead of …
…#description to detect a matcher.

- #description optional for a matcher and common in other domains
- one of #failure_message_for_should or #failure_message is mandatory
  - #failure_message is acceptable for backward compatibility
- Closes #64
0c66bdc
David Chelimsky dchelimsky Changelog 0e482f4
David Chelimsky dchelimsky move Changelog to project root 153d051
Commits on Jul 02, 2011
David Chelimsky dchelimsky dev: reduce warnings aca59bc
David Chelimsky dchelimsky reduce warnings generated by rspec-mocks f04b8bb
Commits on Jul 19, 2011
Sidu Ponnappa kaiwren Fixing #67 - unstub support for any_instance 0a7cde5
Commits on Jul 20, 2011
Justin Ko justinko Merge pull request #68 from c42engineering/Issue67
Fixing #67 - unstub support for any_instance
949c995
Commits on Aug 14, 2011
Sidu Ponnappa kaiwren Issue #70 add support for #stub_chain to any_instance c6af9f9
Justin Ko justinko Merge pull request #71 from c42engineering/issue70
Issue #70: add support for #stub_chain to any_instance
6f96ad3
Justin Ko justinko changelog 82e4ff9
Commits on Aug 19, 2011
alextk alextk use __send__ method instead of send method, to cover cases when targe…
…t object send method is overridden to expose business api
f33a832
Justin Ko justinko Merge pull request #74 from alextk/master
Use __send__ method instead of send
66c9c20
Justin Ko justinko changelog 63ed352
Commits on Aug 20, 2011
Craig Buchek booch document stubbing methods with method names and return values passed …
…as a hash
b7136c1
Commits on Aug 24, 2011
David Chelimsky dchelimsky Merge pull request #75 from booch/master
Document stubbing with methods / return values passed as a hash
c32d62a
David Chelimsky dchelimsky doc tweaks/clarification cfa7a96
Commits on Aug 26, 2011
Attila Domokos adomokos Add new feature for receive_counts on mocks 52daacc
Commits on Sep 02, 2011
Attila Domokos adomokos Removing incorrect description 14c52b9
Attila Domokos adomokos Adding new feature - stubbing with arguments 45b3872
Jim Deville jredville add argument_matchers features for explicit arguments, anything, any_…
…args, and no_args
5769297
Jim Deville jredville Merge branch 'master' of https://github.com/rspec/rspec-mocks b08c75e
Commits on Sep 03, 2011
David Chelimsky dchelimsky Merge pull request #77 from adomokos/add_receive_count_feature
Add new feature for receive_counts on mocks
8d35db6
Commits on Sep 29, 2011
David Chelimsky dchelimsky improve explanation as to why we raise NoMethodError on to_ary b0ea68d
David Chelimsky dchelimsky ci: stick to rubies supported by travis 66d5295
Commits on Oct 09, 2011
David Chelimsky dchelimsky Merge pull request #80 from adomokos/add_stub_with_arguments_feature
Adding new cuke feature - stubbing with arguments
fb854a6
David Chelimsky dchelimsky Tweak the "stub with arguments" cuke
- #80.
7a2f273
David Chelimsky dchelimsky Merge pull request #81 from jredville/master
add argument_matchers features for explicit arguments, anything, any_args, and no_args
d8c4829
David Chelimsky dchelimsky nav for new features 1018eaf
David Chelimsky dchelimsky this has been moved to features/argument_matchers 3e1bbba
David Chelimsky dchelimsky bump to 2.7.0.rc1 3934ef4
David Chelimsky dchelimsky bump relish version to ~> 0.5.0 1c128a3
David Chelimsky dchelimsky dev: fix relish task 2f7706a
David Chelimsky dchelimsky fix link to full changelog 53b7427
Commits on Oct 12, 2011
David Chelimsky dchelimsky Raise a helpful message on any_instance.stub! (use stub instead)
- Closes #57.
c5466fc
David Chelimsky dchelimsky rdoc tweaks f0f9d4a
Commits on Oct 15, 2011
Sidu Ponnappa kaiwren Bug fix: any_instance now properly restores private methods
- Closes #86.
- Fixes #85.
5b862e6
David Chelimsky dchelimsky Changlog for #85 and #86. b3832f5
Commits on Oct 16, 2011
David Chelimsky dchelimsky cleanup and add some rdoc f646743
David Chelimsky dchelimsky update changelog for 2.7.0 release 6a7c51a
David Chelimsky dchelimsky bump version to 2.7.0 19b5646
David Chelimsky dchelimsky fix formatting problems in the changelog fdd3602
Commits on Oct 25, 2011
Justin Ko justinko Set default order to :random c3728d5
Commits on Oct 29, 2011
Matijs van Zuijlen mvz Turn on warnings for spec task. 96640b0
Matijs van Zuijlen mvz Fix 'assigned but unused variable' warnings in lib. 63fb2bc
Matijs van Zuijlen mvz Fix 'assigned but unused variable' warnings in spec. c3c8a97
Commits on Oct 30, 2011
David Chelimsky dchelimsky Merge pull request #88 from mvz/no-warnings
Fix warnings
a02c59b
David Chelimsky dchelimsky dev: fix ruby-debug version (and deps) for 1.9.2 aabc5af
David Chelimsky dchelimsky changelog for #88 32f635f
David Chelimsky dchelimsky changelog tweaks 5244b17
Commits on Nov 06, 2011
David Chelimsky dchelimsky changelog 349f127
David Chelimsky dchelimsky bump to 2.8.0.rc1 7fa5ae6
Commits on Nov 09, 2011
David Chelimsky dchelimsky update License and/or authors in gemspec 6bcdd5c
David Chelimsky dchelimsky update email addy and homepage in gemspec 8dfe521
David Chelimsky dchelimsky only extend Object and Class once 7bd33e2
David Chelimsky dchelimsky move overview to Readme (where it belongs) c186d12
David Chelimsky dchelimsky eliminate warning aeaed20
David Chelimsky dchelimsky rdoc 7348985
David Chelimsky dchelimsky rename file to match module name 000b281
David Chelimsky dchelimsky more README 0a824d2
David Chelimsky dchelimsky fix changelog formatting 15199b8
Commits on Nov 25, 2011
David Chelimsky dchelimsky dev: hack the Gemfile to print instructions for ruby-debug-base19 and…
… linecache19 on ruby-1.9.3
bcbe4c6
David Chelimsky dchelimsky ci: don't warn about ruby-debug-base19 and linecache19 in ci 4273029
David Chelimsky dchelimsky dev: just use the latest rake dd109db
David Chelimsky dchelimsky doc: clean up .yardopts 01c11ee
David Chelimsky dchelimsky rdoc (and a rename or two) f4bd883
David Chelimsky dchelimsky gotta use _some_ rake though b6eb554
Commits on Nov 26, 2011
David Chelimsky dchelimsky dev: move dev-env gems to Gemfile-custom.sample a1baff8
David Chelimsky dchelimsky dev: store the sample, not the actual file 8f9b53d
David Chelimsky dchelimsky add DEV-README bb606af
David Chelimsky dchelimsky rdoc 6d93edd
Commits on Nov 27, 2011
Isaac Cambron icambron added ruby syntax highlighting for github a13dd64
Isaac Cambron icambron removed extra indentation in readme f86db3e
David Chelimsky dchelimsky Begin to refactor any_instance framework a bit as I wrap my head arou…
…nd it.
c104626
David Chelimsky dchelimsky silly cut/paste 1f3a352
David Chelimsky dchelimsky rdoc: test to see if github markup works as expected on rdoc.info 75fb857
David Chelimsky dchelimsky restore rdoc examples to standard markdown indentation until rdoc.inf…
…o supports git-flavored markup
dc295d2
Commits on Nov 29, 2011
David Chelimsky dchelimsky rdoc: AnyInstance::Chain DSL methods (thanks to Loren Segal for the y…
…ard tip)
59b73a8
David Chelimsky dchelimsky rdoc: add @see tags to AnyInstance::Chain methods b147e12
David Chelimsky dchelimsky more rdoc - trying out GFM on rdoc.info again 8f8fa3d
David Chelimsky dchelimsky no go on GFM for now de90662
David Chelimsky dchelimsky rdoc: maybe GFM works for .md files but not .rb files? 2bc29ca
David Chelimsky dchelimsky rdoc: undo GFM again 64b1483
David Chelimsky dchelimsky rdoc: some message expectation methods db61d60
David Chelimsky dchelimsky rdoc: remaining MessageExpectation methods 382fadb
David Chelimsky dchelimsky rdoc: add GFM test file (temp) dc8aba1
David Chelimsky dchelimsky need to include it in .yardopts, silly 39e227a
David Chelimsky dchelimsky clean up ArgumentMatchers b701d0f
David Chelimsky dchelimsky rdoc 45b6314
Commits on Nov 30, 2011
David Chelimsky dchelimsky rdoc - mostly hiding noise end-users don't care about 8ddbed7
David Chelimsky dchelimsky Merge pull request #89 from icambron/doc_changes
Use github-flavored-markdown for the README
3e89723
David Chelimsky dchelimsky don't need the GFM test any longer (it works now) c758d40
David Chelimsky dchelimsky rdoc: legal ruby in the comments actually works 50a4980
Commits on Dec 02, 2011
David Chelimsky dchelimsky add license to gemspec (and consequently the gem) 8e60983
Commits on Dec 04, 2011
David Chelimsky dchelimsky don't need redcarpet in the .yardopts since yard 0.7.4 5424a5c
Commits on Dec 05, 2011
David Chelimsky dchelimsky fix ruby parsing error in rdoc 26d3ffb
Commits on Dec 06, 2011
Pat Allan pat Throwing with parameters
This is written so I can stub out Warden's behaviour appropriately - and I realise it's simple, but perhaps this is all that's needed. It certainly works for me.
aca77b2
Pat Allan pat Following Kernel.throw's method signature
First argument is the symbol, second is the optional object that is returned.
d0c805e
David Chelimsky dchelimsky Merge pull request #90 from freelancing-god/throw-with-params
Throwing with parameters
c03c8d6
David Chelimsky dchelimsky align the examples for and_throw
- #90
8c6ffba
David Chelimsky dchelimsky fix warnings
- #90
4543082
Commits on Dec 20, 2011
David Chelimsky dchelimsky prep for 2.8.0.rc2 12506e1
Commits on Jan 05, 2012
David Chelimsky dchelimsky bump to 2.8.0 ea8cc1f
Commits on Jan 26, 2012
Justin Ko justinko Allow a `as_null_object` to be passed to `with`. Closes #98 de283b3
Commits on Jan 29, 2012
Corey Haines coreyhaines Better message if #and_raise exception type requires constructor params 6fe4168
Corey Haines coreyhaines Make name of sample exception a bit more clear as to its purpose b92f2cc
Commits on Jan 30, 2012
Justin Ko justinko 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
David Chelimsky dchelimsky 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 dchelimsky More detailed error message when and_raise gets a class whose constru…
…ctor requires 1 or more args.

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

- Fixes #103
6e23ca9
David Chelimsky dchelimsky 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
Commits on Feb 27, 2012
David Chelimsky dchelimsky check if @_null_object is defined to avoid warning when it is not 185d47e
Commits on Mar 12, 2012
David Chelimsky dchelimsky bump to 2.9.0.rc1 c83ae1c
David Chelimsky dchelimsky restore some gems to Gemfile e7d92e4
David Chelimsky dchelimsky ci: don't need to exclude development env any longer 377c32b
David Chelimsky dchelimsky align gemspec with other rspec libs 21d21ce
David Chelimsky dchelimsky bump to 2.9.0.rc2 06ce1ab
Commits on Mar 17, 2012
David Chelimsky dchelimsky bump to 2.9.0 e62d381