Skip to content
This repository
branch: yield_matchers

Apr 11, 2012

  1. Myron Marston

    Update the yield cukes with a few more/better examples.

    authored April 11, 2012

Apr 10, 2012

  1. Myron Marston

    Raise an error if a single-yield matcher is used with a multi-yield m…

    …ethod.
    
    Only the yield_successive_args matcher is designed for the multi-yield case.
    authored April 10, 2012
  2. Myron Marston

    Refactor yield matchers a bit.

    This allows the YieldProbe to take care of defining the probe block, and simplifies the #matches? methods.
    authored April 10, 2012
  3. Myron Marston

    Raise an error if expect block arg isn't passed on as a block.

    Otherwise, the matcher is unable to detect anything about if the method-under-test yields, and the user may get false positives.
    authored April 09, 2012
  4. Myron Marston

    Add cukes for yield matchers.

    authored April 09, 2012

Apr 01, 2012

  1. Myron Marston

    Add API docs for yield matchers.

    Cukes are still to come.
    authored March 31, 2012

Mar 31, 2012

  1. Myron Marston

    Add description to all yield matchers.

    authored March 31, 2012
  2. Myron Marston

    Raise an error if a yield matcher is used w/ an expect block that acc…

    …epts no args.
    
    The expect block must accept an arg, and pass it on to the method-under-test as a block, in order for these yield matchers to work properly.  Since this is atypical for an expect block, this error will help guide people when they use these matchers incorrectly.
    authored March 30, 2012
  3. Myron Marston

    Fix yield matchers to handle instance_eval.

    It's debatable if instance_eval'ing a block can be considered yielding, but it's important that we use local variables in the lambdas rather than instance variables, because we don't want to modify the state of the receiver of #instance_eval.
    authored March 30, 2012
  4. Myron Marston

    Remove diffability from yield matchers for now.

    I'm not sure it makes sense given that they don't match strictly but instead match using === or ==.
    authored March 30, 2012
  5. Myron Marston

    Fix typo: "yields", not "yeilds".

    authored March 30, 2012
  6. Myron Marston

    Add yield_successive_args matcher.

    authored March 30, 2012

Mar 30, 2012

  1. Myron Marston

    Group the yield examples by matcher.

    authored March 29, 2012
  2. Myron Marston

    Provide better message for negative yield_with_args matcher failure.

    authored March 29, 2012
  3. Myron Marston

    Match yielded args with == or ===.

    Previously, this expectation failed:
    
      expect { |b| _yield_with_args(String, Fixnum, &b) }.to yield_with_args(String, Fixnum)
    
    ...because Class=== returns false when given itself.
    authored March 29, 2012

Mar 29, 2012

  1. Myron Marston

    Rename helper methods for yield matcher specs.

    authored March 28, 2012

Mar 27, 2012

  1. Myron Marston

    Started working on yield matchers.

Mar 25, 2012

  1. David Chelimsky

    Changelog for #125 [ci skip]

    authored March 24, 2012

Mar 23, 2012

  1. Justin Ko

    Provide a helpful message if the diff between two objects is empty. F…

    …ixes #123
    authored March 22, 2012

Mar 22, 2012

  1. Justin Ko

    Remove unnecessary "else" clause.

    authored March 22, 2012

Mar 17, 2012

  1. David Chelimsky

    formatting tweaks in the changelog

    authored March 17, 2012
  2. David Chelimsky

    better fix for bug when diffing multiline strings

    authored March 17, 2012
  3. David Chelimsky

    Revert "fix bug diffing single strings with multiline strings"

    This reverts commit 07dd19c.
    authored March 17, 2012
  4. David Chelimsky

    fix bug diffing single strings with multiline strings

    authored March 17, 2012
  5. David Chelimsky

    Require kernel extensions (should) from block_aliases in case it is

    loaded first.
    authored March 17, 2012
  6. David Chelimsky

    dev: add a script to download ruby-debug-base19-0.11.26.gem and linec…

    …ache19-0.5.13.gem to a local cache
    
    [ci skip]
    authored March 17, 2012
  7. David Chelimsky

    bump to 2.9.0

    authored March 17, 2012

Mar 12, 2012

  1. David Chelimsky

    bump to 2.9.0.rc2

    authored March 12, 2012
  2. David Chelimsky

    Fix file list in gemspec.

    - Fixes #121
    authored March 12, 2012
  3. David Chelimsky

    bump to 2.9.0.rc1

    authored March 11, 2012

Feb 06, 2012

  1. David Chelimsky

    Changlog for #115

    authored February 06, 2012
  2. David Chelimsky

    Treat expected args consistently across positive and negative expecta…

    …tions.
    
    - Fixes #115.
    authored February 06, 2012

Jan 28, 2012

  1. David Chelimsky

    Remove relative links from README, since they can't work correctly on

    github and rubydoc.info.
    
    - Fixes #113.
    authored January 28, 2012

Jan 24, 2012

  1. David Chelimsky

    Dup the instance of a DSL generated matcher so its state is not changed

    by subsequent invocations.
    
    - Fixes #112.
    authored January 24, 2012

Jan 12, 2012

  1. Myron Marston

    Perf: Set#include? is O(1); Array#include? is O(N).

    See the included benchmarks for actual benchmarks against a collection of 7 values like we have here.
    authored January 11, 2012
Something went wrong with that request. Please try again.