Permalink
Commits on Apr 18, 2011
Commits on Apr 17, 2011
  1. prep for 2.6.0.rc1

    dchelimsky committed Apr 17, 2011
  2. add feature to nav

    dchelimsky committed Apr 17, 2011
  3. Mock#to_ary raises a NoMethodError

    - supports Array#flatten with a Mock in the Array
    - Closes #31.
    dchelimsky committed Apr 17, 2011
  4. words in features

    dchelimsky committed Apr 17, 2011
Commits on Apr 10, 2011
  1. add travis build status

    dchelimsky committed Apr 10, 2011
  2. more rubies for travis

    dchelimsky committed Apr 10, 2011
Commits on Apr 3, 2011
Commits on Apr 2, 2011
Commits on Apr 1, 2011
Commits on Mar 31, 2011
  1. Changlog and some minor tweaks

    - removed unnecessary conditional
    - reduced nesting in any_instance_spec
    dchelimsky committed Mar 31, 2011
Commits on Mar 30, 2011
Commits on Mar 29, 2011
  1. Expect (failing) that any_instance.should_receive should fail if no

    instance is created during the course of an example.
    dchelimsky committed with kaiwren Mar 24, 2011
  2. Use #method_defined? instead of #instance_methods.include?.

    - All specs now pass on MRI 1.8.7 and MRI 1.9.2.
    alindeman committed with kaiwren Mar 18, 2011
  3. Add support for any_instance:

    - MyClass.any_instance.stub(:m)
    - MyClass.any_instance.should_receive(:m)
    - includes stub and mock APIs including
      - and_return, and_raise, and_yield
      - once, twice, exactly, any_number_of_times, never, at_least, at_most
    
    - Closes #46.
    - Closes #10.
    kaiwren committed Mar 24, 2011
  4. Add travis config file.

    myronmarston committed Mar 29, 2011
Commits on Mar 28, 2011
  1. Treat block passed to `with` as a dynamic matcher or a return value, but

    not both.
    
    This fixes issue #254 in rspec-core.
    
    The `with` method accepts two forms:
    
      foo.should_receive(:bar).with(:arg) { ... }
      foo.should_receive(:bar).with { ... }
    
    In the first form, we expect foo.bar(:arg), and when it is received it
    returns the value returned by eval'ing the block.
    
    In the second form, the block itself is treated as an argument matcher.
    The bug was that it was being eval'd twice because it was being treated
    as both an argument matcher and a computed return value.
    dchelimsky committed Mar 28, 2011
Commits on Mar 25, 2011
  1. upgrade cucumber and aruba

    dchelimsky committed Mar 25, 2011
Commits on Mar 23, 2011
Commits on Mar 8, 2011
  1. format doc

    dchelimsky committed Mar 8, 2011
Commits on Mar 6, 2011
Commits on Feb 26, 2011
  1. move some specs around

    dchelimsky committed Feb 26, 2011
  2. docs

    dchelimsky committed Feb 21, 2011