Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rspec/rspec-expectations
...
head fork: rspec/rspec-expectations
Commits on Nov 30, 2010
@dchelimsky dchelimsky links b6d3067
Commits on Dec 01, 2010
@dchelimsky dchelimsky bump to 2.3.0.pre 382bf52
Commits on Dec 05, 2010
@myronmarston myronmarston Fix failing spec.
We can't depend on the order of the hash key/value pairs.

- Closes #44.
- Closes #45.
a10059b
@myronmarston myronmarston Fixed spec so it runs on ruby 1.9.1.
Also fixed indentation.
6b50551
@myronmarston myronmarston No need to have separate 1.8 and 1.9 logic for checking existence of …
…method.
5356519
@dchelimsky dchelimsky expect the right message regardless of hash ordering efc8168
@dchelimsky dchelimsky clean up spec_helper 90209e1
@dchelimsky dchelimsky unless it should be if ... 1f81b11
Commits on Dec 10, 2010
@dchelimsky dchelimsky lock autotest at 4.4.5 40e7ace
Commits on Dec 11, 2010
@kchien kchien Changed expectation to use regex.
- Closes #48.
2764780
@dchelimsky dchelimsky use ZenTest 4.4.2 instead of autotest 4441c64
@msassak msassak Define include matcher as diffable
Modify the specs so they match output rather than specify it exactly.

- Closes #49.
e4921ca
@dchelimsky dchelimsky fix warnings on include spec e318249
@dchelimsky dchelimsky history 1bcd0bc
Commits on Dec 12, 2010
@dchelimsky dchelimsky align Gemfiles across rspec dev repos 6790c7c
@dchelimsky dchelimsky prep for 2.3.0 release 94a5730
Commits on Dec 14, 2010
@dchelimsky dchelimsky bump version to 2.4.0.pre d52c10e
Commits on Dec 18, 2010
@dchelimsky dchelimsky dev-support: update relish task 2b10fc0
Commits on Dec 19, 2010
@joliss joliss improved documentation for change method
- Closes #51.
9a704ea
@dchelimsky dchelimsky more improvments to RDoc for change matcher 9059239
@dchelimsky dchelimsky dev support: add Guardfile 3b59fc1
Commits on Dec 20, 2010
@dchelimsky dchelimsky More consistency across failure messages for operator matchers.
Also cleaned up the related cukes. There was some duplication between
the operator and "be" matcher cukes, and the latter had some examples
that I prefer to discourage.
fe8f85e
@dchelimsky dchelimsky more more consistency across failure messages for operator matchers d1566d4
@dchelimsky dchelimsky remove feature duplicated in rspec-core 8310b17
@dchelimsky dchelimsky reorg cuke features ea4dd96
Commits on Jan 02, 2011
@dchelimsky dchelimsky update expected output in cukes to align with changes in rspec-core 3b0e957
@dchelimsky dchelimsky prep for 2.4.0 release 68f857b
Commits on Jan 08, 2011
@myronmarston myronmarston Fix specs that are failing for me on MRI 1.8.7 p330.
We can't count on the order Hash#inspect prints the elements on ruby 1.8.
27ca1f4
Commits on Jan 17, 2011
@myronmarston myronmarston Fix exist matcher so that it uses either #exist? or #exists? 12d1ae3
@dchelimsky dchelimsky docs/changelog 68fff16
Commits on Feb 02, 2011
@jamesalmond jamesalmond Improved docs for raise_error
- Closes #58.
1a60dff
@dchelimsky dchelimsky Additional improvements to raise_error matcher docs. f5ddd17
Commits on Feb 05, 2011
@dchelimsky dchelimsky update Guardfile - use actual regexps, not strings that look like them 893a7df
@dchelimsky dchelimsky .not_to in addition to .to_not
- Closes #50.
15573f9
@dchelimsky dchelimsky changelog d9154b6
@dchelimsky dchelimsky dot placement matters 6528f3f
@dchelimsky dchelimsky reduce dependency on output in cuke scenario ad6fd10
@dchelimsky dchelimsky prep for 2.5 release 3e4a46f
Commits on Feb 18, 2011
Geoffrey Byers Removed non-ascii characters from comments
- Closes #61.
8a3ee4e
@dchelimsky dchelimsky changelog 8813963
Commits on Feb 25, 2011
@myronmarston myronmarston Remove obselete file. a496a73
Commits on Feb 27, 2011
@myronmarston myronmarston Prevent SystemStackError on 1.9 when users include RSpec::Matchers in…
… an example group.

Closes #63.
80e5300
Commits on Mar 07, 2011
@myronmarston myronmarston Revert "Prevent SystemStackError on 1.9 when users include RSpec::Mat…
…chers in an example group."

This reverts commit 80e5300.

This hack didn't work as well as I thought it would, and I have fixed
the underlying issue in rspec-core by including RSpec::Matchers before
the first example group is created.
268f8c0
Commits on Mar 10, 2011
@myronmarston myronmarston Allow modules to be included in custom matchers.
Closes rspec-core #344.
a832e96
Commits on Mar 21, 2011
@davisre davisre change matcher now accepts regexp in to/from
- Closes #62.
5774d5c
@dchelimsky dchelimsky better ivar names in change matcher 1dc423e
@dchelimsky dchelimsky Changlog e14e87f
@Mange Mange Add description generation for any Has matcher a7b702d
@dchelimsky dchelimsky Changelog and a couple of more peaceful words in spec 9e3eeac
@dchelimsky dchelimsky Dup arrays and hashes in change matcher.
This fixes a bug in which expecting the contents of an array or hash to
change due to some action would fail (false negative) because the before
and after values were actually the same object.

- Closes #41
ae1c3f8
Commits on Mar 25, 2011
@dchelimsky dchelimsky upgrade cucumber and aruba 0a29866
Commits on Mar 28, 2011
@myronmarston myronmarston Fix inclusion order of RSpec::Matchers in Test::Unit and MiniTest.
Due to a bug in ruby 1.9, RSpec::Matchers must be included in the superclass (MiniTest::Unit::TestCase) before it is included in a subclass (Test::Unit::TestCase) or we may get infinite recursion and a SystemStackError from our `super` call in our method_missing hook.  See this gist for more info about the ruby 1.9 bug:

https://gist.github.com/845896

Closes #67.
790a849
@myronmarston myronmarston Changelog. bbfb723
@myronmarston myronmarston Use allocate rather than monkey patching Test::Unit::TestCase#initial…
…ize.

Thanks to @justinko for the suggestion.
37d038b
Commits on Mar 29, 2011
@myronmarston myronmarston Pull gems from github when they are not available locally on the file…
…system.
ebaf90a
@myronmarston myronmarston Add travis config file. aaf14d0
@dchelimsky dchelimsky clean const_missing backtrace 277629e
@dchelimsky dchelimsky less invasive cleansing of const_missing backtrace 733a761
Commits on Apr 03, 2011
@myronmarston myronmarston Only build with the rubies travis has available. 1aaf5a0
Commits on Apr 09, 2011
@francois francois Confirmed the doc format outputs the right values 00f014d
@justinko justinko Tweaks to has.feature - Closes #68 933be5b
@justinko justinko Add has.feature to Relish .nav 5ca17e7
@dchelimsky dchelimsky Revert the last three commits - we already have scenarios for has_FOO in
features/built-in-matchers/predicate-matchers.feature

Squashed commit of the following:

commit 521a6f025a786076f5b10beea553f74b01a17b10
Author: David Chelimsky <dchelimsky@gmail.com>
Date:   Sat Apr 9 16:37:47 2011 -0500

    Revert "Confirmed the doc format outputs the right values"

    This reverts commit 00f014d.

commit f218740f4338b2d92bf978a361f01756727f37b0
Author: David Chelimsky <dchelimsky@gmail.com>
Date:   Sat Apr 9 16:37:37 2011 -0500

    Revert "Tweaks to has.feature - Closes #68"

    This reverts commit 933be5b.

commit d8361f659f26dd011bdcdca9fc38c159ed3a13e0
Author: David Chelimsky <dchelimsky@gmail.com>
Date:   Sat Apr 9 16:37:12 2011 -0500

    Revert "Add has.feature to Relish .nav"

    This reverts commit 5ca17e7.
155e5c0
@dchelimsky dchelimsky run ci against more rubies cce5a9b
Commits on Apr 10, 2011
@dchelimsky dchelimsky update Gemfile to address build issues with 1.9.1 b66c8c3
@dchelimsky dchelimsky add travis build status 9ee29de
Commits on Apr 17, 2011
@dchelimsky dchelimsky prep for 2.6.0.rc1 87c52ac
Commits on Apr 18, 2011
@dchelimsky dchelimsky comment aruba/cukes in Gemfile b932407
@dchelimsky dchelimsky update changelog 63f0ce6
@dchelimsky dchelimsky bump to 2.6.0.rc2 d11e237
@dchelimsky dchelimsky update the changelog 8ff6095
Commits on Apr 19, 2011
@dchelimsky dchelimsky reinstate cucumber and aruba 8dc9c2c
@dchelimsky dchelimsky add matcher overview 14475f0
Commits on Apr 20, 2011
@dchelimsky dchelimsky doc updates a4ebe07
Commits on Apr 30, 2011
@dchelimsky dchelimsky prep for 2.6.0.rc3 88607b6
Commits on May 01, 2011
@dchelimsky dchelimsky bump to 2.6.0.rc4 fd11974
Commits on May 05, 2011
@andersfurseth andersfurseth Implemented matcher for Range#cover? (Ruby 1.9 only)
- Closes #70.
f726c0d
@dchelimsky dchelimsky small refactoring of cover matcher and docs dc26410
Commits on May 06, 2011
@dchelimsky dchelimsky prep for 2.6.0.rc5 ac3c317
@dchelimsky dchelimsky prep for rc6 a87a276