Permalink
Switch branches/tags
Commits on Jun 3, 2012
  1. 0.9.2

    felixge committed Jun 3, 2012
  2. Merge pull request #12 from andreyvit/master

    felixge committed Jun 3, 2012
    A couple of bug fixes
Commits on Apr 9, 2012
  1. Fix: after an explicit call to Gently.verify, expectations are verifi…

    andreyvit committed Apr 9, 2012
    …ed again on process exit
Commits on Mar 20, 2012
Commits on Jul 3, 2011
  1. Merge pull request #7 from jcohen/master

    felixge committed Jul 3, 2011
    Add support for expecting a method to *not* be called.
Commits on Jun 3, 2011
  1. Fix and test case for verify with 0 expectations

    Joshua Cohen committed Jun 3, 2011
Commits on May 24, 2011
  1. version 0.9.1

    felixge committed May 24, 2011
  2. fixed bug I introduced on previous commit: don't autorestore if there…

    masylum committed with felixge May 20, 2011
    … are more expectations
Commits on May 3, 2011
  1. version 0.9.0

    felixge committed May 3, 2011
Commits on Dec 9, 2010
Commits on Nov 20, 2010
Commits on Aug 22, 2010
  1. Bump version

    felixge committed Aug 22, 2010
  2. Fix: _original method did not get preserved

    felixge committed Aug 22, 2010
    When more than one expect() call was made to a method, the original method was
    overwritten by the previous stub function.
Commits on Jun 13, 2010
  1. index.js module

    felixge committed Jun 13, 2010
  2. Rename mock parameter to stubFn

    felixge committed Jun 13, 2010
  3. Bump version

    felixge committed Jun 13, 2010
  4. Stubbing not mocking

    felixge committed Jun 13, 2010
    Subtle difference to the uninitiated, but important.
  5. Log to stderr

    felixge committed Jun 13, 2010
  6. Export Gently class directly

    felixge committed Jun 13, 2010
Commits on May 28, 2010
  1. Raise bad argument exception in gently.expect()

    felixge committed May 28, 2010
    Too often I found myself typing this:
    
    gently.expect('method', fn);
    
    Which so far got silently ignored. This patch makes this mistake more
    obvious.
Commits on May 24, 2010
  1. Bump version

    felixge committed May 24, 2010
  2. Better detection of object names

    felixge committed May 24, 2010
    Also moved this feature into its own function: _name
Commits on May 23, 2010
  1. Bump version

    felixge committed May 23, 2010
  2. Make the source more readable

    felixge committed May 23, 2010
    Specifically adding some source comments on the the different
    interfaces supported by gently.expect()
Commits on May 22, 2010
  1. Point to formidable example

    felixge committed May 22, 2010
  2. Bump version

    felixge committed May 22, 2010
  3. Support for gently.expect(fn)

    felixge committed May 22, 2010
    Awesome for testing callbacks. Also cleaned up some other code
    responsible for showing pretty error messages.
  4. Bump version

    felixge committed May 22, 2010
Commits on May 21, 2010
  1. Message for verify

    felixge committed May 21, 2010
    Also make sure implicit process exit verification is indicated that
    way.
  2. Simplified tests

    felixge committed May 21, 2010
    I love this pattern, who needs a test suite?
  3. Bump to 0.2.0

    felixge committed May 21, 2010