Skip to content

Instantly share code, notes, and snippets.

@btakita
Created November 30, 2008 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btakita/30536 to your computer and use it in GitHub Desktop.
Save btakita/30536 to your computer and use it in GitHub Desktop.
commit 41df2a49059616a1103b6276fb1bee1a18b21d01
Author: Brian Takita <btakita@btakita-laptop.(none)>
Date: Sat Nov 29 18:44:56 2008 -0500
Changed RecordedCalls#matches? to #match_error in anticipation of having reasons a match fails.
0a00e57... Using #received in #assert_received, instead of SpyVerificationProxy.new.
723b2db... Documentation changes.
4a86b53... Attributions
95b8549... Added test/unit api.
10f3d3f... RecordedCalls#ordered_match_error raises a InvocationCountError instead of a SpyVerificationError when the match does not work.
524ebeb... Removed InvocationNotFoundError because its not going to be used.
d3c72c2... If there an the incorrect number of invocations in RecordedCalls#unordered_match_error, a InvocationCountError is raised.
874c5d8... Reformatting some code.
b681ad9... RecordedCalls#match_error returns the Error object if one exists.
03d95a8... Added SpyVerificationError subtypes. Moved SpyVerificationError and children into the RR::Errors::SpyVerificationErrors module.
e3e540e... Moved RRMethods#have_received to RR::Adapters::Rspec#have_received.
8d834fc... Reorganized spec.
1bdb2dc... Moved RRMethods#verify_invocation to SpyVerification#call.
e19fe27... Renamed RRMethods#of_spy to #received.
41df2a4... Changed RecordedCalls#matches? to #match_error in anticipation of having reasons a match fails.
60780a4... Created readers in spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment