Permalink
Commits on Aug 1, 2012
  1. Changelog for #657.

    dchelimsky committed Aug 1, 2012
  2. Merge pull request #657 from samwgoldman/fetch

    Fix Metadata#fetch to support computed values.
    dchelimsky committed Aug 1, 2012
Commits on Jul 31, 2012
  1. Fix Metadata#fetch to support computed values.

    If example.metadata.fetch(:description) was called before example.metadata[:description], fetch would raise a KeyError.
    Sam Goldman committed Jul 31, 2012
Commits on Jul 19, 2012
  1. Merge branch '2-11-maintenance'

    Conflicts:
    	Changelog.md
    myronmarston committed Jul 19, 2012
  2. 2.11.1 release.

    myronmarston committed Jul 19, 2012
Commits on Jul 18, 2012
  1. Ignore mock expectation failures when the example has already failed.

    Mock expectation failures have always been ignored in this situation,
    but due to my changes in 27059bf it was printing a confusing message.
    
    Closes #651.
    myronmarston committed Jul 18, 2012
  2. Update change log.

    myronmarston committed Jul 18, 2012
  3. Fix the way we autoload RSpec::Matchers.

    `autoload`, besides being deprecated by Matz, does not work to require files
    that are in unactivated gems--it only works with ruby's built in require, for
    files that are available relative to a directory on the load path. Instead,
    we use `const_missing` to make it work.
    
    Closes #647.
    myronmarston committed Jul 16, 2012
  4. Fix typo

    This used to be a multi-line string with "',\n    '" in it.
    joliss committed with myronmarston Jul 13, 2012
  5. Fix ruby warnings.

    - lib/rspec/core/shared_example_group.rb:41: warning: `&' interpreted as argument prefix
    - spec/rspec/core/configuration_spec.rb:86: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/configuration_spec.rb:182: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/option_parser_spec.rb:71: warning: possibly useless use of == in void context
    
    Closes #645.
    myronmarston committed Jul 11, 2012
  6. Ignore mock expectation failures when the example has already failed.

    Mock expectation failures have always been ignored in this situation,
    but due to my changes in 27059bf it was printing a confusing message.
    
    Closes #651.
    myronmarston committed Jul 18, 2012
Commits on Jul 16, 2012
  1. Don't pollute every object in the system with a method like `require_…

    …rspec`.
    
    Instead use a local variable lambda. To make this work I had to move the
    "core/extensions/*" requires into rspec/core.rb, but I think this is a
    good change, anyway…given the well-known performance issues with require
    on MRI 1.9.2, this change will remove one extra require.
    myronmarston committed Jul 16, 2012
  2. Fix the way we autoload RSpec::Matchers.

    `autoload`, besides being deprecated by Matz, does not work to require files
    that are in unactivated gems--it only works with ruby's built in require, for
    files that are available relative to a directory on the load path. Instead,
    we use `const_missing` to make it work.
    
    Closes #647.
    myronmarston committed Jul 16, 2012
Commits on Jul 13, 2012
  1. Merge pull request #649 from rsperberg/master

    Typos in documentation
    justinko committed Jul 13, 2012
  2. Added backticks around setup_mocks_for_rspec etc to prevent underscor…

    …es becoming <em> tags
    rsperberg committed Jul 13, 2012
  3. Merge pull request #648 from joliss/typo

    Fix typo
    justinko committed Jul 13, 2012
  4. Fix typo

    This used to be a multi-line string with "',\n    '" in it.
    joliss committed Jul 13, 2012
  5. Combine a few specs into one.

    There's not much value in keeping these as separate individual specs--no needed for the added overhead of 3 specs when one will suffice here.
    myronmarston committed Jul 13, 2012
  6. Update change log.

    myronmarston committed Jul 13, 2012
  7. Make it so that other top-level DSL methods are not added to every ob…

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

    This is a core ruby method we shouldn't touch. Instead, define #parent_groups.
    
    Closes #646.
    myronmarston committed Jul 12, 2012
Commits on Jul 11, 2012
  1. Fix ruby warnings.

    - lib/rspec/core/shared_example_group.rb:41: warning: `&' interpreted as argument prefix
    - spec/rspec/core/configuration_spec.rb:86: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/configuration_spec.rb:182: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/option_parser_spec.rb:71: warning: possibly useless use of == in void context
    
    Closes #645.
    myronmarston committed Jul 11, 2012
Commits on Jul 7, 2012
  1. bump to 2.11.0

    dchelimsky committed Jul 7, 2012
  2. update Changelog

    dchelimsky committed Jul 7, 2012
  3. refactor: rename method

    dchelimsky committed Jul 7, 2012
Commits on Jul 4, 2012
Commits on Jun 29, 2012