Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Commits on Oct 24, 2010
  1. @dchelimsky
Commits on Oct 16, 2010
  1. @dchelimsky
Commits on Oct 14, 2010
  1. @dchelimsky

    Perf: simplify calculation of location

    dchelimsky authored
    - caller is only used to determine file and line number as metadata is
      initialized. There is no need to store it.
    - Also, the previous commit reduces the need for analysis of the caller
      stack. We therefore don't need to sling it around within the rspec
      codebase.
    - Running the following 5000 times took 2.77 seconds before these last
      two commits, 1:58 after:
    
        describe "something" do
          it "does something" do
            1.should eq(1)
          end
        end
    
    Please enter the commit message for your changes. Lines starting
Commits on Oct 12, 2010
  1. @dchelimsky

    Perf: get the right collection the first time

    dchelimsky authored
    - turns out it is faster to inject over an array than to collection a
      bunch of arrays and flatten them
Commits on Oct 10, 2010
  1. @myronmarston @dchelimsky

    Rescue errors in after(:all) and print them out.

    myronmarston authored dchelimsky committed
    This isn't a good permanent solution, but it's better than the current behavior.  Currently, RSpec's error handling raises its own error for an error in after(:all), which gives the user a confusing error message and hides the user's error message.
Commits on Oct 9, 2010
  1. @dchelimsky
  2. @dchelimsky

    small refactoring

    dchelimsky authored
Commits on Oct 3, 2010
  1. @myronmarston @dchelimsky

    Add xit as an alias for a pending example.

    myronmarston authored dchelimsky committed
    This was present in RSpec 1 and provides a quick way to temporarily make a spec pending.
  2. @dchelimsky
  3. @dchelimsky
Commits on Oct 2, 2010
  1. @spicycode

    GH#34 - Fail fast support

    spicycode authored
Something went wrong with that request. Please try again.