Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 9, 2013
  1. @soulcutter
Commits on Mar 25, 2013
  1. @michihuber
Commits on Mar 9, 2013
  1. @myronmarston

    Revise before(:all)/let behavior based on feedback from @dchelimsky.

    myronmarston committed
    - This is closer to the behavior we've had in 2.12 and earlier. `let`
      declarations that are accessed in `before(:all)` will preserve their
      memoized value for all examples in the group.
    - On 2.12 and earlier, this would cause additional `let` declarations
      that were not accessed in `before(:all)` but were accessed in individual
      examples to "leak", because the same `__@memoized` ivar got shared
      with each example in the group, and would be mutated each time an
      additional `let` declaration was accessed. This commit changes
      that behavior. The fact that one `let` declaration is accessed in
      `before(:all)` does not affect the lifecycle of other `let` declarations
      in any way.
Commits on Mar 2, 2013
  1. @myronmarston
  2. @myronmarston
Commits on Jan 4, 2013
  1. @exviva
  2. @exviva
Commits on Oct 3, 2012
  1. @alex-tan @myronmarston
Commits on Sep 26, 2012
  1. @samphippen @myronmarston

    Ensure before(:all) state is always propagated to after(:all)

    samphippen committed with myronmarston
    ...even if an error occurs in before(:all).
    Fixes #558.
Commits on Sep 5, 2012
  1. @soulcutter @myronmarston
Commits on Jul 13, 2012
  1. @myronmarston
  2. @myronmarston

    Make it so that other top-level DSL methods are not added to every ob…

    myronmarston committed
    I did this for #describe in de01e05 but didn't notice that the shared example/context definition methods have the same issue.
Commits on Jul 12, 2012
  1. @myronmarston

    Don't override #ancestors.

    myronmarston committed
    This is a core ruby method we shouldn't touch. Instead, define #parent_groups.
    Closes #646.
Commits on Jun 4, 2012
  1. @dchelimsky
Commits on May 31, 2012
  1. @dchelimsky
Commits on May 23, 2012
  1. @myronmarston

    Improve on 27059bf.

    myronmarston committed
    * Fix specs. The `should_receive(:message).with(/.../)` wasn't working as passed even if the message text didn't match the regex.
      I figured out that it was because of the fact that the error was being
      raised within the example-under-test, which already had two errors and
      was simply printing (or, previously, silencing) the extra error.  The
      solution is to capture the reported message using a stub implementation,
      and then assert on it after running the example.
    * The added context ("in an after hook") for 2nd errors happening in an
      after hook wasn't being included in the printed message. This is fixed now.
Commits on May 20, 2012
  1. @dchelimsky

    Re-reformat failure message.

    dchelimsky committed
    Fixes cuke broken by 43ec3a8 caused
    by reformatting a file, which accidentally re-indented a HERE doc.
Commits on May 19, 2012
  1. @dchelimsky
  2. @dchelimsky

    RDoc improvements for shared examples, Example, and Procsy.

    dchelimsky committed
    Also did some minor refactoring in order to be able to use Yard to
    document internal-DSL-generated methods like `it`, `example`, and
Commits on Apr 8, 2012
  1. @dchelimsky

    prepend_before now prepends local hooks before global hooks.

    dchelimsky committed
    - Provides support for rspec/rspec-rails#391.
    - Also refactored the hooks infrastructure such that most of the work is
      done within the hooks module rather than spreading it out across its
      different consumers.
  2. @dchelimsky

    remove unnecessary guard

    dchelimsky committed
Commits on Dec 12, 2011
  1. @dchelimsky
  2. @dchelimsky

    :pending => 'message' assigns message (defaults to 'No reason given' …

    dchelimsky committed
    …if :pending => true)
    - defaults to 'No reason given' if :pending => true
    - change default pending message to 'No reason given'
    - assign 'Not yet implemented' when no block passed to example (a.k.a.
    - Closes #540
Commits on Dec 3, 2011
  1. @dchelimsky


    dchelimsky committed
Commits on Nov 23, 2011
  1. @dchelimsky
Commits on Nov 19, 2011
  1. @dchelimsky


    dchelimsky committed
Commits on Nov 15, 2011
  1. @dchelimsky

    changelog and cleanup for #503

    dchelimsky committed
Commits on Nov 14, 2011
  1. @cbascom
  2. @cbascom
  3. @cbascom
Commits on Nov 13, 2011
  1. @cbascom
Commits on Nov 10, 2011
  1. @dchelimsky

    more README

    dchelimsky committed
Commits on Nov 8, 2011
  1. @dchelimsky
Commits on Nov 7, 2011
  1. @dchelimsky

    rename ClassMethods/InstanceMethods to ExampleGroupMethods/ExampleMet…

    dchelimsky committed
    …hods (more descriptive)
    - also add more rdoc
Commits on Nov 6, 2011
  1. @dchelimsky
Something went wrong with that request. Please try again.