Permalink
Switch branches/tags
Commits on Nov 13, 2012
  1. bump version to 2.12

    dchelimsky committed Nov 13, 2012
  2. Updates to rake 10

    alindeman committed Nov 13, 2012
  3. prep for 2.12 [ci-skip]

    dchelimsky committed Nov 13, 2012
Commits on Nov 9, 2012
  1. Merge pull request #194 from jeffweiss/fix_receive_spelling_error

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

    Jeff Weiss committed Nov 9, 2012
    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.
Commits on Nov 6, 2012
Commits on Oct 26, 2012
  1. Merge pull request #23 from myronmarston/can_call_original

    myronmarston committed Oct 26, 2012
    Add method to call_original method from a stub
Commits on Oct 25, 2012
  1. Deal with 1.8 shortcoming.

    myronmarston committed Oct 25, 2012
    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.
  2. Remove code that should have been removed in 98ca879.

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

    myronmarston committed Oct 23, 2012
    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.
  2. Remove `method_missing` inconsistency.

    myronmarston committed Oct 23, 2012
    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.
Commits on Oct 22, 2012
Commits on Oct 21, 2012
  1. Merge pull request #183 from alindeman/hide_const

    alindeman committed Oct 21, 2012
    Add support to temporarily remove constants
  2. Introduces Constant#mutated? and Constant#hidden?

    alindeman committed Oct 21, 2012
    * A constant is mutated if it has been either stubbed or hidden
Commits on Oct 20, 2012
  1. Introduces `hide_const`

    alindeman committed Oct 7, 2012
  2. Nest StashedInstanceMethod under RSpec::Mocks.

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

    alindeman committed Oct 16, 2012
  2. JRuby 1.8 mode is green

    alindeman committed Oct 16, 2012