Commits on Aug 2, 2012
  1. Fixed bug with deep template objects

    The below wouldn't work because `t.aProperty.aFunction` didn't have a
    `returnValue` method
    var t = pretendrObj.template({
        aProperty : {
            aFunction : function () {}
    committed Aug 2, 2012
  2. Removed methods from templates when they are objects, as they don't w…

    Also, "refactored", which I think introduced a bug not covered by the
    committed Aug 2, 2012
  3. re-organised the tests

    committed Aug 2, 2012
  4. whitespace

    committed Aug 2, 2012
  5. Merge branch 'preset-template' of…

    …retendr into preset-template
    committed Aug 2, 2012
Commits on Jul 31, 2012
  1. Made templates able to have a preset return value

    unknown committed Jul 31, 2012
Commits on Jul 28, 2012
  1. updated interface for version 0.5

    Plus complete re-write of the tests using Mocha and expect.js
    committed Jul 28, 2012
Commits on Jan 19, 2012
  1. Changed interface back to calling pretendr() directly

    I didn't realise you could do this in node, so changed the interface for both in 0.2
    so that the browser and node.js interfaces matched. I've worked out how to do it now
    so changed it back, and made the version 0.3 as this is a significant interface
    committed Jan 19, 2012
Commits on Jan 18, 2012
  1. Re-added feature with a test to go with it

    When a user calls setReturnValue with multiple values, then calls it
    again, it'll reset the call count so that it starts cycling from the
    beginning again
    committed Jan 18, 2012
  2. Removed untested code

    I'll create a failing test then add it back in
    committed Jan 18, 2012
  3. updated version number

    committed Jan 18, 2012
  4. Created the same interface for browser and node

    For browser, use global PRETENDR
    For node, use var PRETENDR = require('pretendr');
    Made tests work with both
    committed Jan 18, 2012
  5. cleaned up

    Doesn't work with the browser as-is, so removed bits meant to make it work with the browser
    committed Jan 18, 2012
  6. Hopefully this will work in the browser too

    Not in an environment where I can test it
    committed Jan 18, 2012
  7. Changed to make browser interface match node interface

    Not yet tested in the browser
    committed Jan 18, 2012
  8. typo

    committed Jan 18, 2012
  9. Package changes

    committed Jan 18, 2012
  10. removed Mockery remnant

    committed Jan 18, 2012
Commits on Jan 17, 2012
  1. Fixed dependency error

    committed Jan 17, 2012