Commits on Oct 9, 2012
  1. Include backtrace in errors reported by `raise_error` matcher.

    It's hard to troubleshoot unexpected errors when the backtrace is silenced,
    as it was previously.
    Closes #59.
    myronmarston committed Sep 11, 2012
Commits on Oct 4, 2012
  1. Fixes the build on rbx

    * rbx confusingly raises a NoMethodError in the error case described in
      `access_running_example.feature`. MRI and JRuby raise NameError.
      Because matching exactly isn't super-important, let's just match less
      stringently on the error message.
    alindeman committed Oct 4, 2012
Commits on Oct 3, 2012
  1. Document inline code samples with backticks

    * Hopefully prevents relishapp from considering the _ as italics
    alindeman committed Oct 3, 2012
Commits on Oct 1, 2012
  1. Tests specifically for ability to use ::RSpec.configuration, not ::RS…

    * It is possible for RSpec::Core to be defined, but not be fully loaded
      enough for RSpec.configuration to be accessible because
      rspec-core.gemspec requires 'lib/rspec/core/version' which defines
      RSpec::Core::Version but nothing else.
    alindeman committed Oct 1, 2012
  2. Allow rbx-19mode build to fail (for now).

    We've been getting a strange failure on rbx-19 that I can't reproduce locally:!/rspec/rspec-expectations/jobs/2583529
    myronmarston committed Oct 1, 2012
Commits on Sep 27, 2012
  1. Fix typo.

    myronmarston committed Sep 27, 2012
  2. Make the include matcher require the key to exist in the hash.

    There was a weird case where {}.should include(:something => nil) would
    pass, Myron suggested we make this not the case. Here's a patch that
    does that
    Signed-off-by: Sam Phippen <>
    samphippen committed with myronmarston Sep 27, 2012
Commits on Sep 12, 2012
  1. more custom Gemfile updates

    David Chelimsky committed Sep 12, 2012
  2. update Gemfile-custom

    David Chelimsky committed Sep 12, 2012
  3. whitespace

    David Chelimsky committed Sep 12, 2012
Commits on Sep 10, 2012
  1. Use stub_const rather than hand-rolled const mutation.

    This also fixes a warning I was getting on the 1.8.7 build:
    rspec-expectations/spec/rspec/matchers/have_spec.rb:13: warning: redefine pluralize
    myronmarston committed Sep 10, 2012
  2. Fix and re-enable the test_all build.

    I had previously attempted to add this in b0d5007 but find_path_to_rspec_exe wasn't quite right.
    Travis installs rspec-core as a :git gem so the path is `.../rspec-core-<sha>/lib`, not `.../rspec-core/lib`.
    myronmarston committed Sep 10, 2012
Commits on Sep 8, 2012
Commits on Sep 6, 2012
  1. Fix full changelog URL.

    myronmarston committed Sep 6, 2012
Commits on Sep 5, 2012
  1. Add missing changelog entry I forgot to add.

    This was fixed in d427bac.
    myronmarston committed Sep 5, 2012
Commits on Aug 26, 2012
  1. Revert recent build change -- it's not working on Travis CI.

    I need to head to bed in a bit and I don't want to leave the build
    broken. I'll put this in a branch and play with it there to
    get it to work.
    - Revert "Improve how we find the path to the rspec exe."
      This reverts commit cafef45.
    - Revert "Run all specs together and in isolation for build."
      This reverts commit b0d5007.
    myronmarston committed Aug 26, 2012
  2. Improve how we find the path to the rspec exe.

    On travis, it found `/home/travis/builds/rspec/exe/rspec`,
    and that didn't exist. I'm not sure why it didn't find the
    one in rspec-core, but I think this'll fix it.
    myronmarston committed Aug 26, 2012
  3. Fix ruby warnings.

    /Users/myron/code/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:8: warning: method redefined; discarding old ignore
    /Users/myron/code/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:8: warning: previous definition of ignore was here
    myronmarston committed Aug 26, 2012
  4. Run all specs together and in isolation for build.

    We want them to be able to pass when run in isolation w/o bundler being loaded.
    myronmarston committed Aug 26, 2012
Commits on Aug 25, 2012
  1. Merge pull request #169 from alexcoplan/better_diff_coloring

    Better diff coloring
    myronmarston committed Aug 25, 2012
  2. improve diff coloring code

    alexcoplan committed Aug 25, 2012
Commits on Jul 27, 2012
  1. Ensure #== is defined on build in matchers so that they can be composed.

    For example:
    expect {
    }.to change{user.last_emailed_at}.from(nil).to be_within(1.second).of(
    Closes #161.
    myronmarston committed Jul 27, 2012
Commits on Jul 26, 2012
Commits on Jul 25, 2012
  1. Be defensive about resolving `Object`

    It'd be pretty crazy for there to be an `RSpec::Object` or
    `RSpec::Expectations::Object,` but 1) Ruby's constant resolution rules
    have changed and I don't always remember them and 2) We were originally
    defensive about it.
    alindeman committed Jul 25, 2012
  2. Merge pull request #160 from ggilder/master

    #159: Revise should(_not) to work with MacRuby
    myronmarston committed Jul 25, 2012
Commits on Jul 19, 2012
Commits on Jul 18, 2012
  1. Update changelog.

    myronmarston committed Jul 18, 2012
  2. Merge pull request #157 from alexcoplan/color_diffs

    Colored Diffs
    myronmarston committed Jul 18, 2012