Permalink
Switch branches/tags
Commits on Oct 9, 2012
  1. Allow rbx builds to fail.

    myronmarston committed Oct 9, 2012
        
    We're getting weird sudden regressions on rbx, and given the frequency of
    RBX updates (and recent experience with failing rbx bulids in VCR and other
    rspec repos), I think it's due to a bug in rbx.
  2. Merge pull request #177 from rspec/issue_59

    myronmarston committed Oct 9, 2012
    Include backtrace in errors reported by `raise_error` matcher.
  3. Include backtrace in errors reported by `raise_error` matcher.

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

    alindeman committed Oct 4, 2012
    * 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.
Commits on Oct 3, 2012
  1. Document inline code samples with backticks

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

    alindeman committed Oct 1, 2012
    …pec::Core
    
    * 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.
  2. Allow rbx-19mode build to fail (for now).

    myronmarston committed Oct 1, 2012
    We've been getting a strange failure on rbx-19 that I can't reproduce locally:
    
    https://travis-ci.org/#!/rspec/rspec-expectations/jobs/2583529
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.

    samphippen authored and myronmarston committed Sep 27, 2012
    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@googlemail.com>
Commits on Sep 12, 2012
  1. more custom Gemfile updates

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

    David Chelimsky
    David Chelimsky committed Sep 12, 2012
  3. whitespace

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

    myronmarston committed Sep 10, 2012
    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
  2. Fix and re-enable the test_all build.

    myronmarston committed Sep 10, 2012
    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`.
Commits on Sep 8, 2012
Commits on Sep 6, 2012
Commits on Sep 5, 2012
  1. Add missing changelog entry I forgot to add.

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

    myronmarston committed Aug 26, 2012
    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.
  2. Improve how we find the path to the rspec exe.

    myronmarston committed Aug 26, 2012
    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.
  3. Fix ruby warnings.

    myronmarston committed Aug 26, 2012
    /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
  4. Run all specs together and in isolation for build.

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

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

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

    alindeman committed Jul 25, 2012
    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.
  2. Merge pull request #160 from ggilder/master

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