Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 1, 2011
  1. @dchelimsky

    And, once again: Refactor any/all_apply? in example_group, example, a…

    dchelimsky authored
    …nd metadata.
    
    This reverts commit 1680d32.
    
    The problem was world was checking example.any_apply? which also checks
    its example group. By going directly to the example's
    metadata.any_apply?, we avoid checking the example group and all is
    right with the world.
  2. @dchelimsky

    One more time: revert "Do-over: Refactor any/all_apply? in example_gr…

    dchelimsky authored
    …oup, example, and metadata."
    
    This reverts commit bad6adc.
  3. @dchelimsky

    Do-over: Refactor any/all_apply? in example_group, example, and metad…

    dchelimsky authored
    …ata.
    
    This restores 13f6889 with small
    adjustment that is necessary for some versions of Ruby, but not all :)
  4. @dchelimsky

    Revert "Refactor any/all_apply? in example_group, example, and metada…

    dchelimsky authored
    …ta."
    
    This reverts commit da80d2e, which
    introduced failures in some rubies, but not all (so I didn't notice
    them).
Commits on Sep 26, 2011
  1. @dchelimsky
Commits on Aug 25, 2011
  1. @dchelimsky

    Add xspecify and xexample as temp pending hooks.

    dchelimsky authored
    Thanks to Ben Mabey for the suggestion.
Commits on Aug 5, 2011
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky
  4. @slawosz @dchelimsky

    add better error message when shared context is missing

    slawosz authored dchelimsky committed
    - Closes #432.
Commits on Jun 18, 2011
  1. @dchelimsky

    names

    dchelimsky authored
Commits on May 12, 2011
  1. @dchelimsky

    Revert "refactoring: clarify intent of applying filters"

    dchelimsky authored
    - it was more expressive, but caused errors in rspec-rails - will
      revisit later
    
    This reverts commit 9d61d59.
Commits on May 11, 2011
  1. @dchelimsky

    easier on the eyes

    dchelimsky authored
Commits on May 10, 2011
  1. @dchelimsky
Commits on May 8, 2011
  1. @dchelimsky

    don't call autorun when registering an example group

    dchelimsky authored
    - the rspec command already does this
    - if you want to use the ruby command, require 'rspec/autorun'
Commits on Apr 17, 2011
  1. @dchelimsky

    Add shared_examples/include_examples pair.

    dchelimsky authored
    Now we have:
    
      shared_examples / include_examples
      shared_context  / include_context
    
    These actually do the same thing, but the names make different use cases
    more intention revealing.
Commits on Mar 27, 2011
  1. @dchelimsky

    Change config.for_groups_matching to shared_context

    dchelimsky authored
    - not in the context of config
    - aligns with shared_examples_for API
    - also add `include_context` method to example group
      - so shared context can be included ...
        - using include_context
        - by matching metadata
Commits on Mar 9, 2011
  1. @myronmarston

    Abstract out the metadata symbol deprecation warning.

    myronmarston authored
    The current message won't make sense for config options that use symbol metadata so this provides an easy way to define another module with a different warning message for use by configuration.
Commits on Mar 8, 2011
  1. @dchelimsky

    Change class level instance var to class's class var so the block is

    dchelimsky authored
    only executed once per suite.
Commits on Mar 7, 2011
  1. @myronmarston

    Fix how RSpec::Matchers is included in RSpec::Core::Example group to …

    myronmarston authored
    …prevent SystemStackError on 1.9.
Commits on Feb 23, 2011
  1. @myronmarston
Commits on Feb 15, 2011
  1. @dchelimsky
Commits on Feb 14, 2011
  1. @dnurzynski @dchelimsky

    Fix exit_status after Exception raised in before :all hook

    dnurzynski authored dchelimsky committed
    - Closes #301.
    - Closes #302.
Commits on Jan 27, 2011
  1. @dchelimsky

    Make Procsy a module and extend the generated Procs instead of

    dchelimsky authored
    inheriting from Proc.
    
    - This allows Procsy to behave correctly in all supported versions of
      MRI, as well as JRuby-1.5 and JRuby-1.6.
    - See http://jira.codehaus.org/browse/JRUBY-5261
    - See http://jira.codehaus.org/browse/JRUBY-5026
    - Thanks to John Firebaugh for the suggestion!
    - Closes #291 (hopefully forealz)
Commits on Jan 13, 2011
  1. @myronmarston @dchelimsky

    Allow filtered :all hooks to be applied to nested example groups.

    myronmarston authored dchelimsky committed
    Previously, they could only be applied to top-level example groups.
    
    - Closes #274.
  2. @dchelimsky

    Add #focus as an alias for #focused.

    dchelimsky authored
    - see d3456f3#comments
      for more info,
    - Closes #268.
Commits on Dec 28, 2010
  1. @dchelimsky
Commits on Dec 12, 2010
  1. @dchelimsky
Commits on Nov 19, 2010
  1. @dchelimsky
Commits on Nov 14, 2010
  1. @dchelimsky

    object per example

    dchelimsky authored
Commits on Nov 7, 2010
  1. @dchelimsky
  2. @dchelimsky

    eliminate some warnings

    dchelimsky authored
  3. @myronmarston

    Add implicit :if and :unless filters.

    myronmarston authored
    * These are built in exclusion filters that can be overriden.
    * When you configure a filter, it now merges with existing filters rather than completely overriding them.
    * A spec/group is now filtered if ANY of the filter conditions apply; before it required ALL to apply.
    * Filter lambdas can now accept a 2nd argument that is the metadata hash--this allows checking to see if the key is even in the hash (necessary for the :if filter).
Commits on Nov 6, 2010
  1. @dchelimsky
  2. @dchelimsky
Something went wrong with that request. Please try again.