Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: issue-96
Commits on Jun 10, 2012
  1. @dchelimsky

    don't re-observe methods that are already being observed

    dchelimsky authored
    Experimental fix for #96.
Commits on Jun 4, 2012
  1. @dchelimsky
  2. @dchelimsky

    Merge pull request #147 from c42engineering/issue123

    dchelimsky authored
    Issue #123: Improved error message when user forgets to stub a method with a default.
  3. Issue #123: Improved error message when user forgets to stub a method…

    Neha Kumari authored
    … with default behavior.
Commits on May 31, 2012
  1. @dchelimsky

    Merge pull request #145 from pjellis/patch-1

    dchelimsky authored
    [typo] underscore-ize 'ducktype' in README.md
  2. @pje

    `:%s/ducktype/duck_type/g`

    pje authored
Commits on May 25, 2012
  1. @dchelimsky

    Merge pull request #143 from brynary/codeclimate-badge

    dchelimsky authored
    Add Code Climate badge
  2. @brynary

    Add Code Climate badge

    brynary authored
Commits on May 24, 2012
  1. @dchelimsky

    `should_receive(x).at_least(:once).and_return(y)` always returns y ev…

    dchelimsky authored
    …en if x is already stubbed
    
        widget.stub(:count => 1)
        widget.should_receive(:count).at_least(:once).and_return(2)
        widget.count #=> 2
        widget.count #=> 2
    
    If there is no return value set, it will fall back to the stub value:
    
        widget.stub(:count => 1)
        widget.should_receive(:count).at_least(:once)
        widget.count #=> 1
        widget.count #=> 1
    
    - Fixes #142
Commits on May 23, 2012
  1. @dchelimsky

    Merge pull request #139 from c42engineering/issue124

    dchelimsky authored
    add support for any_instance.should_not_receive
  2. @aakashd
  3. @kaiwren

    Replicated Issue #124

    kaiwren authored
  4. @justinko
  5. @justinko

    changelog [ci skip]

    justinko authored
  6. @justinko
Commits on May 22, 2012
  1. @myronmarston

    Update changelog.

    myronmarston authored
Commits on May 20, 2012
  1. @kaiwren
Commits on May 19, 2012
  1. @kaiwren

    Replicating Issue #120

    kaiwren authored
Commits on May 17, 2012
  1. @myronmarston

    Fix a regression.

    myronmarston authored
    When doing something like:
    
      double.stub(:foo).and_return(a, b)
      double.should_receive(:foo).once { a }
      double.foo
    
    ...it used to work, but in 2.10 it raises a NoMethodError (#size).
  2. @dchelimsky

    Merge pull request #115 from nathanl/master

    dchelimsky authored
    Explained why `before(:all)` won't work for stubs.
Commits on May 13, 2012
  1. @dchelimsky

    spec refactoring: rename subject with intention revealing name

    dchelimsky authored
    - even though 'object' is no less generic than 'subject', it makes it
      more clear that we're talking about a generic object.
  2. @dchelimsky

    dev: rename context

    dchelimsky authored
  3. @dchelimsky
  4. @dchelimsky
Commits on May 9, 2012
  1. @dchelimsky

    Expose ArgumentListMatcher as a formal API

    dchelimsky authored
    - supports use by 3rd party mock frameworks like Surrogate.
Commits on May 5, 2012
  1. @dchelimsky

    bump to 2.10.1

    dchelimsky authored
  2. @dchelimsky
  3. @dchelimsky

    dev: refactor a spec

    dchelimsky authored
  4. @dchelimsky

    dev: config for :focus

    dchelimsky authored
Commits on May 4, 2012
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky
  4. @dchelimsky

    bump to 2.10.0

    dchelimsky authored
  5. @dchelimsky
  6. @dchelimsky
Something went wrong with that request. Please try again.