Permalink
Commits on Nov 13, 2012
  1. @dchelimsky

    bump version to 2.12

    dchelimsky committed Nov 13, 2012
  2. @alindeman

    Updates to rake 10

    alindeman committed Nov 13, 2012
  3. @dchelimsky

    prep for 2.12 [ci-skip]

    dchelimsky committed Nov 13, 2012
Commits on Nov 9, 2012
  1. @alindeman

    Merge pull request #194 from jeffweiss/fix_receive_spelling_error

    fix receive spelling error
    alindeman committed Nov 9, 2012
  2. @jeffweiss

    fix receive spelling error

    Prior to this commit several of the examples in the message expectation
    documentation had the method as `should_recieve` when the proper
    spelling is `should_receive`. This commit fixes those documentation
    errors.
    jeffweiss committed Nov 9, 2012
Commits on Nov 6, 2012
  1. @dchelimsky
Commits on Oct 26, 2012
  1. @myronmarston

    Merge pull request #23 from myronmarston/can_call_original

    Add method to call_original method from a stub
    myronmarston committed Oct 26, 2012
Commits on Oct 25, 2012
  1. @myronmarston

    Deal with 1.8 shortcoming.

    1.8 does not allow you to bind a singleton method from a class's superclass to the class, so our original code failed. This tries to work around the issue while alerting the user to the fact that it may not work correctly in all cases.
    myronmarston committed Oct 25, 2012
  2. @myronmarston

    Remove code that should have been removed in 98ca879.

    I forgot to remove this code as part of that commit.
    myronmarston committed Oct 25, 2012
Commits on Oct 24, 2012
  1. @myronmarston
Commits on Oct 23, 2012
  1. @myronmarston
  2. @myronmarston

    Rename StashedInstanceMethod to InstanceMethodStasher.

    The old name implied it always stashed a method (and made
    `stashed_method.method_is_stashed?` read funny). The new
    name makes it clear what role the object plays without
    implying that it always stashes the method.
    myronmarston committed Oct 23, 2012
  3. @myronmarston

    Remove `method_missing` inconsistency.

    Based on conversations with @dchelimsky and others, we've decided it's best not
    to raise an early error from `and_call_original` as that creates an
    inconsistency since we sometimes don't know if `method_missing` will handle
    the message or not.
    myronmarston committed Oct 23, 2012
Commits on Oct 22, 2012
  1. @myronmarston
  2. @myronmarston
Commits on Oct 21, 2012
  1. @myronmarston
  2. @myronmarston
  3. @alindeman

    Merge pull request #183 from alindeman/hide_const

    Add support to temporarily remove constants
    alindeman committed Oct 21, 2012
  4. @alindeman
  5. @alindeman

    Introduces Constant#mutated? and Constant#hidden?

    * A constant is mutated if it has been either stubbed or hidden
    alindeman committed Oct 21, 2012
  6. @alindeman
  7. @myronmarston
  8. @myronmarston
  9. @myronmarston
Commits on Oct 20, 2012
  1. @alindeman
  2. @alindeman
  3. @alindeman
  4. @alindeman
  5. @alindeman
  6. @alindeman
  7. @alindeman

    Introduces `hide_const`

    alindeman committed Oct 7, 2012
  8. @myronmarston

    Nest StashedInstanceMethod under RSpec::Mocks.

    We shouldn't grab any top level real-estate except for the `RSpec` constant itself.
    myronmarston committed Oct 20, 2012
Commits on Oct 16, 2012
  1. @alindeman

    JRuby --1.9 is green

    alindeman committed Oct 16, 2012
  2. @alindeman
  3. @alindeman

    JRuby 1.8 mode is green

    alindeman committed Oct 16, 2012