Permalink
Switch branches/tags
Nothing to show
Commits on Oct 27, 2009
Commits on Oct 26, 2009
Commits on Oct 25, 2009
  1. cleaning up the stubber and stubmethod a bit more. proof that you can…

    derickbailey committed Oct 25, 2009
    … yield nil and it works correctly.
  2. added ability to provide the stub method block after calling the .yie…

    derickbailey committed Oct 25, 2009
    …lds() method, and execute the block as the stubbed method's code
  3. cleaned up the stubber by adding a stubmethod object to hold all the …

    derickbailey committed Oct 25, 2009
    …data about the stub, including the block to execute
Commits on Oct 23, 2009
Commits on Oct 22, 2009
  1. corrected method name

    derickbailey committed Oct 22, 2009
  2. i swear this should be working... i duplicated the code into a separa…

    derickbailey committed Oct 22, 2009
    …te object and it worked... but for some reason, the stubber won't recognize my block methods...
Commits on Oct 21, 2009
Commits on Oct 20, 2009
Commits on Jun 29, 2009
  1. Moved two definitions to the correct module name since RSpec changed …

    mbrennan committed Jun 29, 2009
    …the name of the module. Updated object#track_methods method to track all public methods if no arguments were passed in.
Commits on Aug 19, 2008
  1. Added support for using RSpec's argument matchers with Not A Mock's A…

    notahat committed Aug 19, 2008
    …rgsMatcher.
    
    Extended RSpec's argument matchers with an in_any_order matcher, to match array arguments without caring about order of elements in the array. This is particularly useful for matching against arrays of database records, where you're not sure of the order in which the records have come out of the database.
Commits on Jul 23, 2008
Commits on Jun 20, 2008
  1. Made the to_param method on stubbed ActiveRecord objects return a Str…

    notahat committed Jun 20, 2008
    …ing rather than a Fixnum.
Commits on May 31, 2008
Commits on May 30, 2008
Commits on Mar 14, 2008
  1. Have stubbed instances identify themselves as belonging to the class …

    pete
    pete committed Mar 14, 2008
    …being stubbed for calls to is_a?, class, etc. Thanks to Pat Allan for the original version of this patch.
    
    git-svn-id: http://svn.notahat.com/not_a_mock/trunk@12 65be6520-f94d-4a94-a7bb-1ef24f465d78
Commits on Feb 18, 2008
  1. Marked as :nodoc: some of the Stubber and CallRecorder methods should…

    pete
    pete committed Feb 18, 2008
    … only be used internally, and cleaned up other minor documentation things.
    
    git-svn-id: http://svn.notahat.com/not_a_mock/trunk@11 65be6520-f94d-4a94-a7bb-1ef24f465d78