Permalink
Switch branches/tags
Commits on Apr 18, 2011
  1. update the changelog

    dchelimsky committed Apr 18, 2011
  2. bump to 2.6.0.rc2

    dchelimsky committed Apr 18, 2011
  3. update changelog

    dchelimsky committed 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

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

    dchelimsky committed Apr 17, 2011
  5. Ensure that any_instance expectations are properly cleaned up between…

    kaiwren authored and dchelimsky committed Apr 17, 2011
    … examples.
    
    - Closes #52.
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

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

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

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

    kaiwren committed Mar 24, 2011
    - 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.
  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

    dchelimsky committed Mar 28, 2011
    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.
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