Permalink
Commits on Jun 24, 2008
  1. Tagging 0.5.0 release.

    floehopper committed Jun 24, 2008
Commits on Jun 8, 2007
  1. Fixed package rake task.

    floehopper committed Jun 8, 2007
  2. Fix load path for coderay.

    floehopper committed Jun 8, 2007
  3. Added vendor directory.

    floehopper committed Jun 8, 2007
  4. Fixed old stubba example.

    floehopper committed Jun 8, 2007
Commits on Jun 6, 2007
  1. Fix so that it is possible for a stubbed method to raise an Interrupt…

    … exception without a message in Ruby 1.8.6
    floehopper committed Jun 6, 2007
Commits on May 2, 2007
Commits on Apr 25, 2007
  1. Formatting and rdoc changes.

    floehopper committed Apr 25, 2007
  2. Added rdoc to 'anything'.

    threedaymonk committed Apr 25, 2007
Commits on Apr 24, 2007
Commits on Apr 12, 2007
  1. Added a few Hamcrest-style parameter matchers to be used within Expec…

    …tation#with. Hopefully this will mean we can get rid of the nasty &parameter_block for Expectation#with. Updated rdoc. Updated rakefile to pick up new test directory and new rdoc files.
    floehopper committed Apr 12, 2007
  2. Added bug to todo list.

    floehopper committed Apr 12, 2007
  3. Added Expectation#multiple_yields to allow a mocked or stubbed method…

    … to yield multiple times for a single invocation.
    floehopper committed Apr 12, 2007
  4. Allow multiple calls to yields on single expectation to allow yield p…

    …arameters to be specified for consecutive invocations e.g. mock.stubs(:method).yields(1, 2, 3).then.yields(4, 5). Updated rdoc accordingly. Extracted logic into YieldParameters class.
    floehopper committed Apr 12, 2007
  5. Refactored return value generation into new ReturnValues, SingleRetur…

    …nValue and ExceptionRaiser classes. Allow multiple calls to Expectation#returns and Expectation#raises to build up sequence of responses to invocations on the mock. Extracted aliasing of Object#is_a? into a separate file so it could be required from two places. Added syntactic sugar method Expectation#then to allow more readable expectations e.g. mock.stubs(:method).returns(1, 2).then.raises(Exception).then.returns(4).
    floehopper committed Apr 12, 2007
Commits on Apr 11, 2007
  1. Stop matching expectations when maximum number of expected invocation…

    …s is reached. c.f. JMock v1.
    floehopper committed Apr 11, 2007