Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 21, 2015
  1. @myronmarston
Commits on May 7, 2015
  1. @fabschurt

    Increase line length to fix an odd-looking (too short) line on Relish

    fabschurt authored
    The hyperlink to `object_double` in the Markdown source makes the line
    longer than it is when rendered on Relish, and the line break after
    "work if you" thus makes the line look too short compared to others on
    Relish.
  2. @fabschurt

    Remove a hyphen

    fabschurt authored
  3. @fabschurt
Commits on May 5, 2015
  1. @JonRowe
Commits on May 3, 2015
  1. @ShPakvel
Commits on Apr 17, 2015
  1. @myronmarston
Commits on Apr 10, 2015
  1. @samnang
Commits on Mar 24, 2015
  1. @johnceh

    Small fix for typo

    johnceh authored
Commits on Mar 15, 2015
  1. @JonRowe
Commits on Feb 23, 2015
  1. @myronmarston

    Stop calling methods on args passed to a stubbed method.

    myronmarston authored
    Any method call may mutate an object, so we can't safely call
    anything on a passed argument.
    
    This reverts the following PRs and commits:
    
    * #871:
      * 8a0962a ("Reword comment to not use “external” twice.")
      * 52c69f1 ("Just use `Array#hash`.")
    * #868:
      * ed3fb3b ("Provide a clear error when received message args are mutated.")
      * fc9e9a5 ("Ignore arg mutations for method calls we are not concerned with.")
    
    This adds notes to the docs about using mutated args
    with `have_received(…).with(…)`.
    
    Fixes #892.
Commits on Feb 17, 2015
  1. Add more specific "does not implement" messages.

    Tim Wade authored
    The unimplemented error message gives no indication of whether the
    object is a class or instance double. This change passes that object to
    the error generator so that it can create a more specific message
    depending on whether it is an instance or class double. It defaults to
    the original "<object> does not implement <method>" for anything else.
    
    #838
Commits on Jan 27, 2015
  1. @myronmarston
Commits on Jan 19, 2015
  1. @JonRowe

    update docs for rspec/rspec_rails#1238

    JonRowe authored
    [skip ci]
Commits on Jan 11, 2015
  1. @JonRowe
Commits on Jan 8, 2015
  1. @myronmarston

    Fix inaccurate doc string in cucumber scenario.

    myronmarston authored
    This was apparently a copy/paste error.
    
    Thanks to @aruprakshit for notifying me of this problem.
Commits on Dec 29, 2014
  1. @tschady

    fix spelling error

    tschady authored
Commits on Dec 19, 2014
  1. @myronmarston

    Fix standalone so it doesn’t infect other objects.

    myronmarston authored
    This also makes `extend RSpec::Mocks::ExampleMethods`
    work properly.
    
    Fixes #845.
Commits on Nov 21, 2014
  1. @xaviershay

    Remove spy scenario that is wrong level of detail for relish docs.

    xaviershay authored
    Behaviour is already covered by specs.
Commits on Oct 24, 2014
  1. @andyw8
Commits on Oct 4, 2014
  1. @myronmarston
  2. @myronmarston

    Treat `any_args` as an arg splat.

    myronmarston authored
    This allows it to match an arbitrary number of
    arguments at any point in an arg list.
    
    Closes #707.
Commits on Sep 24, 2014
  1. @dblock
Commits on Aug 23, 2014
  1. @JonRowe
Commits on Jul 11, 2014
  1. @JonRowe

    attempt to reword docs

    JonRowe authored
Commits on Jun 10, 2014
  1. @samphippen

    Adds spying methods to the RSpec Mocks DSL

    samphippen authored
    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.
Commits on Jun 7, 2014
  1. @myronmarston

    Put the scope cuke last in the basics section.

    myronmarston authored
    It was odd for it to be first.
    
    [ci skip]
Commits on Jun 6, 2014
  1. @myronmarston

    Fix broken relish links.

    myronmarston authored
    [ci skip]
  2. @myronmarston

    Rewrite cucumber features.

    myronmarston authored
    The old cukes were a mess:
    
    - Lots of duplication and inconsistencies.
    - Functioned poorly as documentation.
    - Didn't highlight the new syntax well.
    - Didn't really cover all of rspec-mocks' features.
    
    The new ones were structurd specifically with documentation in mind.
    The specs are meant more for regression coverage. We've limited the
    cukes to just things people may actually want to read as part of
    docs.
    
    I've also reworked the test unit cuke as a minitest cuke.
    
    For reference, here's the before/after from cucumber:
    
    Before:
    
    77 scenarios (77 passed)
    276 steps (276 passed)
    0m48.014s
    
    After:
    
    89 scenarios (89 passed)
    328 steps (328 passed)
    0m57.844s
    
    Fixes #591.
Commits on Jun 5, 2014
  1. @myronmarston

    Convert a cuke scenario to specs.

    myronmarston authored
    This has little documentation value but is useful
    as a regression test.
Commits on May 21, 2014
  1. @tomafro
Commits on Mar 22, 2014
  1. @myronmarston
Commits on Feb 19, 2014
  1. @myronmarston
Commits on Jan 29, 2014
  1. @myronmarston

    Update method names, etc to reflect our check is more than arity.

    myronmarston authored
    Arity is just the number of arguments but we check
    more than that now, so it's good to reflect that.
Commits on Jan 27, 2014
  1. @JonRowe

    cleanup stray whitespace

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