Permalink
Commits on Feb 2, 2013
Commits on Jan 28, 2013
  1. 2.12.2 release.

    myronmarston committed Jan 28, 2013
  2. Handle `stub_const("::SomeUndefinedConst")`.

    I thought I fixed the problem in 17daf44,
    but I missed this edge case.  That only fixed `stub_const("::SomeDefinedConst").
    
    Fixes #200.
    myronmarston committed Jan 28, 2013
  3. Fix doc string typos.

    [ci skip]
    myronmarston committed Jan 28, 2013
Commits on Jan 7, 2013
  1. Merge pull request #211 from rspec/issue_210

    Adds failing spec demonstrating #210
    myronmarston committed Jan 7, 2013
Commits on Jan 5, 2013
  1. Merge pull request #213 from rspec/issue-212

    Fix `and_call_original` so that it looks for the method in all ancestors
    myronmarston committed Jan 5, 2013
  2. Fix `and_call_original` so that it looks for the method in all ancestors

    ...including those mixed into the singleton class (i.e.
    via a module extended onto an object instance).
    
    Fixes #212.
    myronmarston committed Jan 5, 2013
  3. Ignore .rspec-local.

    myronmarston committed Jan 5, 2013
Commits on Jan 4, 2013
Commits on Jan 1, 2013
  1. Merge pull request #208 from rspec/new_expect_syntax

    Switch to new expect syntax.
    alindeman committed Jan 1, 2013
  2. Convert one more example I missed to `expect` syntax.

    This one isn't run on 1.8.7 (the version I was using
    last night when doing the conversion).
    myronmarston committed Jan 1, 2013
Commits on Dec 31, 2012
  1. Switch to new expect syntax.

    myronmarston committed Dec 31, 2012
  2. Add missing require.

    myronmarston committed Dec 31, 2012
  3. Cleanup whitespace.

    myronmarston committed Dec 31, 2012
Commits on Dec 26, 2012
  1. Don't assume presence of rspec-core's `warn_deprecation` method.

    rspec-mocks should be usable outside of rspec-core.
    myronmarston committed Dec 26, 2012
  2. Simplify implementation of `and_throw`.

    It can use an implementation block rather than needing to
    maintain some extra state.
    myronmarston committed Dec 26, 2012
  3. Simplify implementation of `and_raise`.

    It can use an implementation block rather than needing to
    maintain some extra state.
    myronmarston committed Dec 26, 2012
  4. Cleanup whitespace.

    myronmarston committed Dec 26, 2012
Commits on Dec 21, 2012
  1. 1 more changelog entry I forgot.

    [ci skip]
    myronmarston committed Dec 21, 2012
  2. Release 2.12.1.

    myronmarston committed Dec 21, 2012
  3. Update Changelog.

    myronmarston committed Dec 21, 2012
Commits on Dec 20, 2012
  1. Merge pull request #207 from rspec/handle_aliased_methods

    Stash and restore aliased methods when the owner is reported wrong.
    alindeman committed Dec 20, 2012
  2. Stash and restore aliased methods when the owner is reported wrong.

    Fixes #206.
    
    While I was at it, I wanted to verify that `and_call_original` works
    with this case, so I added a spec for it, too.
    myronmarston committed Dec 20, 2012
Commits on Dec 19, 2012
  1. Improve the way we run builds.

    - No need for `find_path_to_rspec_exe`; I've discovered that `--standalone`
      and `--binstubs` together produce bins that don't load bundler.
    - Add `-x` to `set -e` as that will cause the script to print each command
      as it runs.  No need for `print_and_run`.
    - Add cucumber to test_all script, and use just that for the build.
    myronmarston committed Dec 19, 2012
Commits on Dec 16, 2012
Commits on Dec 10, 2012
  1. Merge pull request #204 from sanemat/fix/class-name

    Use Kernel#inspect instead of #to_s
    myronmarston committed Dec 10, 2012
  2. Use Kernel#inspect instead of #to_s

    Kernel#inspect does not call #to_s anymore, on Ruby2.0.0
    sanemat committed Dec 10, 2012
Commits on Dec 3, 2012
  1. Fix stub_const/hide_const to work properly with a const like "::Foo".

    It didn't work properly with names containing leading '::' before.
    
    Fixes #200.
    myronmarston committed Dec 3, 2012
Commits on Nov 25, 2012
  1. Fix broken link.

    myronmarston committed Nov 25, 2012