Skip to content
Commits on Sep 12, 2010
  1. @justinko @dchelimsky
  2. @dchelimsky
Commits on Sep 11, 2010
  1. @dchelimsky

    Improved handling for CTRL-C (runs after(:suite))

    dchelimsky committed
    Now, when you hit CTRL-C:
    
    - any subsequent examples in the current group return immediately
      without running or reporting
    - after(:all) hooks in that group are run
    - any subsequent example groups are removed from the global list of
      groups to run
    - after(:all) hooks in parent groups (if INT was received while a nested
      group was running) are run
    - after(:suite) hooks are run
    - standard reporting ensues
Commits on Sep 10, 2010
  1. @dchelimsky

    Abort run on CTRL-C

    dchelimsky committed
    - finishes current example
    - runs after alls
    - reports examples run up to and including the one that was running when
      the interrupt was received
    - Closes #32.
Commits on Sep 7, 2010
  1. @spicycode @dchelimsky
  2. @spicycode @dchelimsky

    gh#21 Resolution, 1 remaining pending test

    spicycode committed with dchelimsky
    Pending in before(:all) don't fail, they just don't work, so that is
    something
Commits on Sep 2, 2010
  1. @iromeo @dchelimsky
Commits on Aug 22, 2010
  1. @justinko @dchelimsky

    Remove ExampleGroup.to_s method

    justinko committed with dchelimsky
    - Closes #110.
Commits on Aug 12, 2010
  1. @dchelimsky

    Include or extend each module immediately after processing

    dchelimsky committed
    - ensures that included modules that manipulate metadata do so before
      subsequent modules are processed, allowing earlier modules to effect
      the outcome of whether or not to include subsequent modules
    - same for extended modules
Commits on Aug 5, 2010
  1. @dchelimsky

    organize some files

    dchelimsky committed
  2. @myronmarston @dchelimsky

    Added an implementation of module_exec for ruby 1.8.6 as module_eval_…

    myronmarston committed with dchelimsky
    …with_args.
    
    This allows parameterized shared example groups to be used on ruby 1.8.6.
  3. @myronmarston @dchelimsky

    Renamed instance_exec to instance_eval_with_args.

    myronmarston committed with dchelimsky
    We don't want to expose instance_exec as a public API; it's just for RSpec's internal use.  I also added some guard conditionals to the implementation so that we only use the 1.8.6 instance_exec hack if it's really necessary.
Commits on Aug 3, 2010
  1. @dchelimsky

    Expose described_class to example group

    dchelimsky committed
    - alias for describes
    - maybe we should deprecated describes as it might be the only verb in
      the metadata
  2. @dchelimsky
  3. @myronmarston @dchelimsky
Commits on Aug 2, 2010
  1. @dchelimsky
Commits on Aug 1, 2010
  1. @dchelimsky
  2. @dchelimsky

    inline

    dchelimsky committed
Commits on Jul 24, 2010
  1. @dchelimsky

    refactoring

    dchelimsky committed
Commits on Jul 23, 2010
  1. @dchelimsky

    Restore original implementation of its(attribute) from rspec-1.

    dchelimsky committed
    - original implementation by Stephen Touset
    - Closes #90.
Commits on Jul 22, 2010
  1. @dchelimsky

    resolve minor feature envy

    dchelimsky committed
Commits on Jul 21, 2010
  1. @dchelimsky

    Deprecate add_example_group in formatters

    dchelimsky committed
    - use example_group_started
    - also made some other tweaks to better align with rspec-1 formatter API
Commits on Jul 20, 2010
  1. @dchelimsky

    Eliminate some warnings

    dchelimsky committed
    - Closes #80.
Commits on Jul 19, 2010
  1. @dchelimsky

    slightly more precise

    dchelimsky committed
  2. @leshill @dchelimsky
Commits on Jul 18, 2010
  1. @dchelimsky
  2. @dchelimsky
  3. @wincent @dchelimsky

    Add alias_it_should_behave_like_to

    wincent committed with dchelimsky
    Closes #74.
Commits on Jul 17, 2010
  1. @dchelimsky

    it_should_behave_like takes only one name

    dchelimsky committed
    - this makes things more consistent now that we have the block syntax
  2. @dchelimsky

    clean up shared example specs

    dchelimsky committed
Commits on Jul 16, 2010
  1. @dchelimsky

    it_should_behave_like generates a nested example group

    dchelimsky committed
    - cleanly supports passing a block or not
    - does not support using super when replacing behaviour within the group
  2. @myronmarston @dchelimsky

    Allow the helper methods overidden in the block passed to it_should_b…

    myronmarston committed with dchelimsky
    …ehave_like to call their base implementation using super.
  3. @myronmarston @dchelimsky

    Allow it_should_behave_like to take a block that can provide helper m…

    myronmarston committed with dchelimsky
    …ethods and use the RSpec DSL for a particular instance of the shared example group.
Commits on Jul 14, 2010
  1. @leshill @dchelimsky
Commits on Jul 9, 2010
  1. @dchelimsky

    Introduce HookCollection in Hooks module

    dchelimsky committed
    - Replaced conditional logic (forward/reverse processing) with
      polymorhpism (HookCollection types)
Something went wrong with that request. Please try again.