Skip to content
This repository
branch: master

Jul 07, 2014

  1. Myron Marston

    Merge pull request #733 from rspec/copy-null-objectness-on-dup-and-clone

    Preserve null objectness when copying test doubles.
    myronmarston authored
  2. Myron Marston

    Preserve null objectness when copying test doubles.

    Fixes #732.
    myronmarston authored

Jun 28, 2014

  1. Jon Rowe

    Merge pull request #725 from rspec/spec-fix

    Remove redundant allow.
    JonRowe authored
  2. Xavier Shay

    Remove redundant allow.

    I originally thought this was required to allow use of the
    `have_received` matcher, but not sure what I was thinking.
    xaviershay authored JonRowe committed

Jun 26, 2014

  1. Myron Marston

    Merge pull request #722 from rspec/verified-spies-issue

    Add failing spec demonstrating issue.
    myronmarston authored
  2. Xavier Shay

    `have_received` matcher will raise "does not implement" errors correc…

    …tly when
    
    used with verifying doubles and partial doubles.
    xaviershay authored

Jun 21, 2014

  1. Jon Rowe

    Merge pull request #721 from rspec/and_yield_regression

    Add failing spec for and_yield regression.
    JonRowe authored
  2. Myron Marston

    Add failing spec for and_yield regression.

    myronmarston authored JonRowe committed

Jun 20, 2014

  1. Myron Marston

    Merge pull request #720 from rspec/address-warning

    Address ruby warning.
    myronmarston authored
  2. Myron Marston

    Address ruby warning.

    rspec-mocks/spec/rspec/mocks/and_yield_spec.rb:114: warning: assigned but unused variable - default_arg
    myronmarston authored
  3. Myron Marston

    Forwardport 3.0.2 release notes.

    [ci skip]
    myronmarston authored

Jun 19, 2014

  1. Myron Marston

    Changelog fixups.

    - Remove extra blank line.
    - Fix spelling on Sam’s name.
    
    [ci skip]
    myronmarston authored
  2. Myron Marston

    Merge pull request #713 from rspec/ordered-with-counts

    Sketch implementation of ordered with counts
    myronmarston authored
  3. Myron Marston

    Don’t use smart quotes.

    [ci skip]
    myronmarston authored
  4. Myron Marston

    Merge pull request #719 from rspec/fix-714

    Fix 714
    myronmarston authored
  5. Sam Phippen

    Add a changelog entry for #713

    samphippen authored
  6. Sam Phippen

    Fix exact receive counts with ordered

    samphippen authored
  7. Myron Marston

    1.8.7 can’t parse blocks with default args.

    myronmarston authored
  8. Thomas Brand

    `and_yield` not using default block argument when no argument given.

    Using ruby 2.1.2
    
    ```ruby
    default_arg = Object.new
    obj = Object.new
    
    allow(obj).to receive(:a_message).and_yield
    expect(default_arg).to receive(:bar)
    
    obj.a_message do |receiver=default_arg|
      receiver.bar
    end
    ```
    
    The above code fails with:
    
    ```
     Failure/Error: obj.a_message do |receiver=default_arg|
            #<Object:0x007fe3ac1ce408> yielded || to block with arity of 1
    ```
    
    The block has a arity of 0 or 1 not 1. So I would expect that when no argument
    is given to `and_yield` it would use the default block argument.
    tom025 authored myronmarston committed
  9. Myron Marston

    Merge pull request #718 from rspec/fix-verified-double-expiration

    Verifying doubles should expire just like normal doubles.
    myronmarston authored
  10. Myron Marston

    Verifying doubles should expire just like normal doubles.

    myronmarston authored

Jun 18, 2014

  1. Myron Marston

    Merge pull request #716 from rspec/remove-excess-once

    Remove extra `once`.
    myronmarston authored

Jun 17, 2014

  1. Myron Marston

    Fix typo.

    [ci skip]
    myronmarston authored
  2. Myron Marston

    Remove extra `once`.

    myronmarston authored

Jun 14, 2014

  1. Myron Marston

    Bump version to 3.1.0.pre to prevent confusion with master being 3.0.…

    …0 but 3.0.x releases are out.
    myronmarston authored
  2. Jon Rowe

    Merge pull request #715 from oMartell/master

    Fix invitation typo in readme
    JonRowe authored
  3. Oliver Martell Núñez

    Fix invitation typo in readme

    oMartell authored

Jun 12, 2014

  1. Myron Marston

    Add changelog for #711.

    [ci skip]
    myronmarston authored
  2. Myron Marston

    Merge pull request #711 from rspec/fix-710

    Fix edge case that triggered “can't add a new key into hash during iteration"
    myronmarston authored
  3. Sam Phippen

    Fix edge case that triggered “can't add a new key into hash during it…

    …eration”.
    
    This was triggered when a double was used as a `with` arg
    but was otherwise unused — in this case, there was no mock
    proxy for it, but while verifying one would get created
    (due to internal implementation details). Doing so in a
    `each_value` loop caused the error.
    samphippen authored myronmarston committed
  4. Myron Marston

    2.99.1 release notes.

    [ci skip]
    myronmarston authored

Jun 10, 2014

  1. Sam Phippen

    Merge pull request #671 from rspec/spy-methods

    Adds spying methods to the RSpec Mocks DSL
    samphippen authored
  2. Sam Phippen

    Adds spying methods to the RSpec Mocks DSL

    Specifically adds:
    
    * spy - responds and spies all methods
    * instance_spy - responds and spies all methods to which a specified
      class responds.
    * object_spy - responds and spies all methods to which a specific
      instance responds
    * class_spy - responds and spies all class methods to which a specific
      class responds
    
    I added test coverage for the expected behaviours and added some YARD
    docs to the new methods.
    samphippen authored

Jun 09, 2014

  1. Myron Marston

    Merge pull request #706 from rspec/use-maint-branch-master

    Use maintenance branch.
    myronmarston authored
  2. Myron Marston

    Use maintenance branch.

    myronmarston authored
Something went wrong with that request. Please try again.