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
This comparison is big! We're only showing the most recent 250 commits
Commits on Sep 29, 2014
@AvnerCohen AvnerCohen [minor] added two samples of negative check 10af266
@myronmarston myronmarston Merge pull request #662 from AvnerCohen/negate_readme
[minor] added two samples of negative check
fc4af07
Commits on Oct 02, 2014
@elia elia Give a hint on how the set the :should syntax 5346d02
@JonRowe JonRowe Merge pull request #663 from elia/patch-1
Give a hint on how the set the :should syntax
07af3f3
@JonRowe JonRowe changelog for #663 8b6234a
Commits on Oct 09, 2014
@JonRowe JonRowe document supports_block_expectations in the custom matcher DSL e8f583d
@JonRowe JonRowe add additional scenario for defining method manually 1da2347
@myronmarston myronmarston Merge pull request #665 from rspec/document_block_matchers_with_dsl
Document supports_block_expectations for the custom matcher DSL
ea252de
Commits on Oct 13, 2014
@JonRowe JonRowe improve hash attributes failure message by caching values and enumera…
…ting in output
6ec5799
@JonRowe JonRowe changelog for #668
[skip ci]
a1ef9d7
@JonRowe JonRowe make have_attributes diffable e7e4527
@JonRowe JonRowe add diffable #668 to changelog
[skip ci]
681d255
@JonRowe JonRowe Merge pull request #668 from rspec/improve_have_attributes
Improve have_attributes matcher failure message.
0ee6263
Commits on Oct 22, 2014
@chapmajs chapmajs Removing explicit checking of object's private methods 5f6c5ca
@myronmarston myronmarston Merge pull request #670 from chapmajs/be_matcher_fix
Removing explicit checking of object's private methods
73a432c
@myronmarston myronmarston Add changelog entry for #670.
[ci skip]
aa634ea
Commits on Oct 27, 2014
@myronmarston myronmarston Fix doc wording.
[ci skip]
ef768f8
Commits on Oct 30, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
fb74824
Commits on Oct 31, 2014
@myronmarston myronmarston Merge pull request #674 from rspec/update-travis-build-scripts-2014-1…
…0-30-for-master

Updates from rspec-dev (2014-10-30)
b12657c
Commits on Nov 05, 2014
@myronmarston myronmarston Remove inaccurate note.
`yield_control` supports modifiers like `once`,
`twice`, `exactly(10).times`, etc.
9bde29a
@myronmarston myronmarston Make `yield_control` default to `at_least(:once)`.
Previously, it raised a confusing error when multiple
yields occurred:

> The yield_control matcher is not designed to be used with a
> method that yields multiple times. Use the yield_successive_args
> matcher for that case.

This was confusing because yield_control has supported multiple
yields for awhile.  This also simplifies the implementation!
c76be85
Commits on Nov 06, 2014
@JonRowe JonRowe Merge pull request #675 from rspec/improve-yield-control-matcher
Make `yield_control` default to `at_least(:once)`.
854092d
Commits on Nov 12, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
1198697
@myronmarston myronmarston Merge pull request #680 from rspec/update-travis-build-scripts-2014-1…
…1-12-for-master

Updates from rspec-dev (2014-11-12)
972d101
@cupakromer cupakromer Updated travis build scripts (from rspec-dev)
ab0f169
@JonRowe JonRowe Merge pull request #681 from rspec/update-travis-build-scripts-2014-1…
…1-12-for-master

Updates from rspec-dev (2014-11-12)
8280c5a
Commits on Nov 13, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
cb02d80
Commits on Nov 14, 2014
@myronmarston myronmarston Merge pull request #682 from rspec/update-travis-build-scripts-2014-1…
…1-13-for-master

Updates from rspec-dev (2014-11-13)
6f86d39
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
d74620f
@myronmarston myronmarston Merge pull request #683 from rspec/update-travis-build-scripts-2014-1…
…1-13-for-master

Updates from rspec-dev (2014-11-13)
33198e1
Commits on Nov 15, 2014
@JonRowe JonRowe Updated travis build scripts (from rspec-dev)
f808837
@JonRowe JonRowe Merge pull request #684 from rspec/update-travis-build-scripts-2014-1…
…1-15-for-master

Updates from rspec-dev (2014-11-15)
09ec82c
Commits on Nov 24, 2014
@myronmarston myronmarston Address `instance variable @color not initialized` warning.
95d9c97
@JonRowe JonRowe Merge pull request #689 from rspec/fix-color-warning
Address `instance variable @color not initialized` warning.
c03e367
@myronmarston myronmarston Add changelog for #689. 35f132d
@myronmarston myronmarston Fix `(start|end)_with` when comparing a string against an array of st…
…rings.
03d21ce
Commits on Nov 25, 2014
@JonRowe JonRowe Merge pull request #690 from rspec/fix-start-with-end-with-array-of-s…
…trings

Fix start with end with array of strings
c8ccd8d
@JonRowe JonRowe Badges as SVG
[skip ci]
7b226ac
@JonRowe JonRowe Merge pull request #691 from rspec/badge_as_svg
Switch readme badges to svg
438d4b8
@myronmarston myronmarston Prefer `example` over `it` for these specs.
`it "expect(...)..." doesn't read well at all. The behavior
has already been desribed by the group's doc string; each
of the individual specs is an `example` of it, so `example`
works better here.
ff8ecc8
@myronmarston myronmarston Don’t use internally delegated matchers for generated descriptions.
036dab4
@JonRowe JonRowe Merge pull request #692 from rspec/fix-generated-descriptions-with-ne…
…sted-matchers

Fix generated descriptions with nested matchers
7b251ce
Commits on Dec 04, 2014
@postmodern postmodern Properly sub-class Exception so YARD can detect ExpectationNotMetError.
9d58624
@JonRowe JonRowe Merge pull request #693 from postmodern/master
Properly sub-class Exception so YARD can detect ExpectationNotMetError.
fb35c58
Commits on Dec 08, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
aeb121a
@myronmarston myronmarston Merge pull request #696 from rspec/update-travis-build-scripts-2014-1…
…2-08-for-master

Updates from rspec-dev (2014-12-08)
79ba980
Commits on Dec 09, 2014
@JonRowe JonRowe rename type to class internally
85b1e89
@JonRowe JonRowe Merge pull request #697 from rspec/rename_type_to_class_internally
Rename type to class internally
b58918c
Commits on Dec 18, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
c6fe74d
@myronmarston myronmarston Merge pull request #699 from rspec/update-travis-build-scripts-2014-1…
…2-17-for-master

Updates from rspec-dev (2014-12-17)
0778ffa
Commits on Dec 23, 2014
@alexgenco alexgenco Add `to_std(out|err)_from_any_process` matchers
These matchers will capture all output from spawned subprocesses in
addition to the main Ruby process.
1a5f76c
@alexgenco alexgenco Add docs and features around `to_std(out|err)_from_any_process` matchers 388d7d9
@alexgenco alexgenco Add benchmarks around `to_std(out|err)_from_any_process` matchers
cccd8f1
Commits on Dec 24, 2014
@alexgenco alexgenco Change echo commands in output_spec if running on windows
0e0d64c
@myronmarston myronmarston Merge pull request #700 from alexgenco/output_matcher
Allow output matcher to capture output of a child process
e02e086
@myronmarston myronmarston Add changelog for #700.
[ci skip]
7af8e39
Commits on Dec 27, 2014
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
4d041bd
@myronmarston myronmarston Merge pull request #701 from rspec/update-travis-build-scripts-2014-1…
…2-26-for-master

Updates from rspec-dev (2014-12-26)
d3aa5ac
Commits on Dec 28, 2014
@benmoss benmoss Updated travis build scripts (from rspec-dev)
7a6e83d
@benmoss benmoss Attempt to provide documentation for the Minitest exception class
f2112cc
@myronmarston myronmarston Merge pull request #702 from benmoss/update-travis-build-scripts-2014…
…-12-27-for-master

Updated travis build scripts (from rspec-dev)
47cd127
Commits on Dec 29, 2014
@myronmarston myronmarston Address MRI 2.2 warnings (possible reference to past scope).
From ruby/ruby@f5f6218.
It causes 280 warnings in our spec suite :(. The fix is to change the names of
variables and/or `let` definitions so they do not clash.

See https://bugs.ruby-lang.org/issues/10661 for more discussion.
fdd9ef3
@myronmarston myronmarston Merge pull request #703 from rspec/address-2.2-issues
Address MRI 2.2 warnings (possible reference to past scope).
f5fd2c7
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
122d18f
Commits on Dec 30, 2014
@myronmarston myronmarston Merge pull request #704 from rspec/update-travis-build-scripts-2014-1…
…2-29-for-master

Updates from rspec-dev (2014-12-29)
101c4b4
Commits on Jan 01, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
3b1a5ca
@myronmarston myronmarston Merge pull request #706 from rspec/update-travis-build-scripts-2014-1…
…2-31-for-master

Updates from rspec-dev (2014-12-31)
2d9795a
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
f0fefb7
Commits on Jan 02, 2015
@myronmarston myronmarston Merge pull request #707 from rspec/update-travis-build-scripts-2015-0…
…1-01-for-master

Updates from rspec-dev (2015-01-01)
ad702ee
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
07f53df
@JonRowe JonRowe Merge pull request #708 from rspec/update-travis-build-scripts-2015-0…
…1-01-for-master

Updates from rspec-dev (2015-01-01)
76962c4
Commits on Jan 08, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
c576f4a
@myronmarston myronmarston Merge pull request #710 from rspec/update-travis-build-scripts-2015-0…
…1-07-for-master

Updates from rspec-dev (2015-01-07)
1c877e0
Commits on Jan 15, 2015
@myronmarston myronmarston Exclude aruba 0.6.2 for now.
This should fix the build.

See cucumber/aruba@5b2c7b4#commitcomment-9284628 for background.
eb23fe0
@myronmarston myronmarston Merge pull request #714 from rspec/exclude-arbua-0-6-2
Exclude aruba 0.6.2 for now.
a88281b
Commits on Jan 16, 2015
@myronmarston myronmarston Update to aruba 0.6.2.
0.6.2 removes regexp so we need to stop using it.
5e8f556
Commits on Jan 17, 2015
@JonRowe JonRowe Merge pull request #715 from rspec/fix-for-aruba-0-6-2
Update to aruba 0.6.2.
27e9199
@cupakromer cupakromer Include details on how to run against `master`.
A very common issue is when a user attempts to run against the `master`
branch. Simply pointing to `master` doesn't work. This adds the steps
necessary to use `master`.

We need all of the repos in order to also satisfy any other gems which
may have a dependency on the `rspec` gem.

[ci skip]
146dd99
@cupakromer cupakromer Merge pull request #716 from rspec/help-for-running-master
Include details on how to run against `master`.
b7d8371
Commits on Jan 21, 2015
@myronmarston myronmarston Remove dead code. d467141
@myronmarston myronmarston Rename StartAndEndWith to StartOrEndWith.
After all, it does one or the other, not both.
3bc50c5
Commits on Jan 22, 2015
@myronmarston myronmarston Doc improvements.
a028cd4
@JonRowe JonRowe Merge pull request #718 from rspec/fixup-start-and-end-with
Fixup start and end with
45ff9fa
Commits on Jan 28, 2015
@waterlink waterlink Diffable compound matchers 709c8e7
@waterlink waterlink disable rubocop ClassLength for Compound matcher
aa7188f
@myronmarston myronmarston Merge pull request #713 from waterlink/compound_matcher_diff
Compound matcher diff
b6e46b1
@myronmarston myronmarston Add changelog for #713.
[ci skip]
deac66a
Commits on Jan 29, 2015
Alexey Fedorov followup for #713 :: use differ directly instead of differ factory me…
…thod
b299e1a
@myronmarston myronmarston Merge pull request #722 from waterlink/followup/713/reuse_differ_in_e…
…xpecteds_for_multiple_diffs

followup for #713 :: Use differ directly instead of differ factory method
0e91a28
Commits on Feb 03, 2015
@sivagollapalli sivagollapalli FIX#717 Added YARD doc
- hash support for include matcher
1d5d2a2
@myronmarston myronmarston Merge pull request #725 from sivagollapalli/issue_717
FIX#717 Added YARD doc
fc9b15e
@myronmarston myronmarston Update changelog for v3.2.0 [ci skip] 60153c7
@myronmarston myronmarston Release 3.2.0
27cdd63
@myronmarston myronmarston Bump version to 3.3.0.pre
1e7240e
Commits on Feb 04, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
e33435a
Commits on Feb 05, 2015
@myronmarston myronmarston Merge pull request #726 from rspec/update-travis-build-scripts-2015-0…
…2-03-for-master

Updates from rspec-dev (2015-02-03)
6ba9bfb
@ryantm ryantm Update README.md
Change is_a? to kind_of? reflecting the actual method called by the matcher. This might make it easier for someone to mock it.
fe29d44
@JonRowe JonRowe Merge pull request #727 from ryantm/patch-1
Update README.md
3ff873c
Commits on Feb 06, 2015
@myronmarston myronmarston Refactor failure matcher definitions to use a recommended technique.
I wouldn't encourage users to directly define methods on `RSpec::Matchers` so we probably shouldn't, either.
ede6785
@myronmarston myronmarston Use fail matchers more precisely.
When a regexp is being used, `fail_with` works just fine.
When you want to match on a string snippet, `fail_including`
works better, by delegating to `a_string_including`.
b4b4fbb
@JonRowe JonRowe Merge pull request #728 from rspec/stop-patching-rspec-matchers
Refactor failure matcher definitions to use a recommended technique.
cc550c4
Commits on Feb 08, 2015
@JonRowe JonRowe isolate a spec depending on set from the main process
5149590
@JonRowe JonRowe Merge pull request #730 from rspec/require_set_before_use_in_specs
Isolate a spec depending on set from the main process
b647492
Commits on Feb 09, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
35fee60
@charlierudolph charlierudolph expose fail matchers for testing custom matchers
c340b44
Commits on Feb 10, 2015
@JonRowe JonRowe Merge pull request #729 from charlierudolph/cr-exposeFail
expose fail matchers for testing custom matchers
5f9c06c
@JonRowe JonRowe changelog for #729
[skip ci]
13fd25a
Commits on Feb 12, 2015
@JonRowe JonRowe Merge pull request #731 from rspec/update-travis-build-scripts-2015-0…
…2-08-for-master

Updates from rspec-dev (2015-02-08)
c7f0054
Commits on Feb 13, 2015
@JonRowe JonRowe remove extra require f331dca
@JonRowe JonRowe eliminate usage of openstruct 72fa468
@JonRowe JonRowe fix the Set spec to use sub process only when possible a57d550
@JonRowe JonRowe isolate require timeout from main spec env where possible ef91a3f
Commits on Feb 15, 2015
@JonRowe JonRowe isolate require delegate from main spec env where possible 17c66ec
@JonRowe JonRowe isolate require bigdecimal from main spec env where possible ce96ea3
@JonRowe JonRowe isolate require complex from main spec env where possible 5de31b5
@JonRowe JonRowe isolate require date from main spec env where possible 07ef767
@JonRowe JonRowe isolate require uri from main spec env where possible 7a4e0f7
@JonRowe JonRowe tidyup include for RSpec::Support::InSubProcess 3c7b7fe
@JonRowe JonRowe attempt to fix 1.9.2 by using class rather than struct
8ad2cbf
Commits on Feb 16, 2015
@JonRowe JonRowe Merge pull request #734 from rspec/isolate_specs_when_possible
Isolate specs from std lib when possible
c9926c3
Commits on Feb 17, 2015
@myronmarston myronmarston Cleanup whitespace. a29e121
@myronmarston myronmarston Update to new rspec-support library-wide checks. abf9555
@myronmarston myronmarston Delay `tempfile` loading.
(See comment for explanation about why we do this).
8fa0535
@myronmarston myronmarston Update to latest rspec-support requires.
ca148b7
@myronmarston myronmarston Changelog.
[ci skip]
41c53db
@JonRowe JonRowe Merge pull request #735 from rspec/allowed-stdlibs
Allowed stdlibs
6d69157
Commits on Feb 18, 2015
@myronmarston myronmarston Leverage new differ autoload.
Builds on rspec/rspec-support#181. This avoids the
cost of loading diff/lcs, pp, etc for cases where
we don’t need to print any diffs.
2e06376
@JonRowe JonRowe Merge pull request #739 from rspec/leverage-differ-autoload
Leverage new differ autoload.
08c1143
Commits on Feb 24, 2015
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
1902eaf
Commits on Feb 25, 2015
@myronmarston myronmarston Merge pull request #743 from rspec/update-travis-build-scripts-2015-0…
…2-24-for-master

Updates from rspec-dev (2015-02-24)
dfb06e9
Commits on Feb 26, 2015
Tim Wade Suggest `be_truthy`/`be true` when using `be_true`
Applies the same for `be_false`. Still fails as expected, but adds an
additional message to suggest an alternative if still using the
deprecated `be_true`/`be_false`.

#741
98dc0aa
@JonRowe JonRowe Merge pull request #744 from imtayadeway/be-true-false-notice
Suggest `be_truthy`/`be true` when using `be_true`
0876df0
@JonRowe JonRowe changelog for #744
[skip ci]
4081467
Commits on Mar 02, 2015
@jaredbeck jaredbeck Add RSpec::Matchers::EnglishPhrasing to public API
Expose `RSpec::Matchers::EnglishPhrasing` to make it easier to write
nice failure messages and descriptions in custom matchers.

Pretty remains private, and is still mixed into
BaseMatcher and DSL::Matcher.

EnglishPhrasing, by comparison, is not mixed into any classes, and its
methods are now static.
f2729cc
@jaredbeck jaredbeck Make Pretty#underscore private
929e21d
Commits on Mar 11, 2015
@myronmarston myronmarston Merge pull request #736 from jaredbeck/patch-1
Allow custom matchers to use methods in Pretty
10a9c3e
@myronmarston myronmarston Move definition of `improve_hash_formatting`.
We don’t want it defined in the `Pretty` module because
that is included the custom matcher DSL and it’s not meant
for end-user use.
3c89981
@myronmarston myronmarston Remove `Pretty` module.
It’s no longer needed.
be1d897
@myronmarston myronmarston Merge pull request #749 from rspec/pr-736-fixups
Pr 736 fixups
6a9f42e
Commits on Mar 15, 2015
@abotalov abotalov Make a context where RSpec::Matchers is included respond to missing b…
…e_* or have_*
b33229a
Commits on Mar 16, 2015
@myronmarston myronmarston Merge pull request #751 from abotalov/respond_to_missing_be_or_have
Make a context where RSpec::Matchers is included respond to missing be_* or have_*
9621a02
@myronmarston myronmarston Add changelog for #751.
[ci skip]
d0b0d1d
@myronmarston myronmarston Updated travis build scripts (from rspec-dev)
7d5ef66
@JonRowe JonRowe Merge pull request #753 from rspec/update-travis-build-scripts-2015-0…
…3-15-for-master

Updates from rspec-dev (2015-03-15)
39ff245
Commits on Mar 19, 2015
@myronmarston myronmarston Fix `contain_exactly` to work with test doubles.
Test doubles do not define `<=>` by default.
9633da8
@JonRowe JonRowe Merge pull request #758 from rspec/fix-contain-exactly-with-doubles
Fix `contain_exactly` to work with test doubles.
f69cc91
Commits on Mar 22, 2015
@JonRowe JonRowe changelog for #755
[skip ci]
3610e0d
@JonRowe JonRowe prevent infinite ranges blowing up descriptions bfa9746
@JonRowe JonRowe fix 1.8.7 value matching for error messages
557f47b
@JonRowe JonRowe Merge pull request #757 from rspec/fix_descriptions_with_ranges_kick_…
…travis

Fix descriptions with ranges kick travis
f289e21
Commits on Apr 03, 2015
@myronmarston myronmarston Improve wording of changelog entry.
734fe2e
Commits on Apr 06, 2015
@myronmarston myronmarston Forwardport 3.2.1 release notes.
f0b79d1
Commits on Apr 11, 2015
Tim Wade Avoid diffing for problematic include cases.
Include#diffable? will return true unless it detects a multiline string
with at least one expected that is included in actual, but is not an
exact match for any single line.

#746
c02a0b2
@myronmarston myronmarston Merge pull request #763 from imtayadeway/tw/diff-substrings
Avoid diffing for problematic `include` cases
460972c
@myronmarston myronmarston Add changelog for #763.
[ci skip]
7308190
@myronmarston myronmarston Enable verified partial doubles. e66377c
@gavingmiller gavingmiller Use ObjectInspector for all inspection work
Moves code into ObjectInspector and expands usage to matchers.
af56605
@myronmarston myronmarston Update some more matchers to use rspec-support’s object inspector.
Also, add a shared spec that ensures each matcher uses it.
97b1a99
@myronmarston myronmarston Add changelog.
01f1ac5
Commits on Apr 12, 2015
@myronmarston myronmarston Merge pull request #765 from rspec/pr-740-followups
Pr 740 followups
fe2c96e
Commits on Apr 14, 2015
@ChrisArcand ChrisArcand Remove remnant of have(n) matcher tests
have(n) matchers were removed here:
8f39d44
This dummy team class isn't used anywhere else.
c5aede2
@myronmarston myronmarston Merge pull request #770 from ChrisArcand/remove-old-have-n-stub
Remove remnant of have(n) matcher tests
774b8d6
Commits on Apr 15, 2015
@myronmarston myronmarston Avoid `TypeError: can’t covert x into String/Regexp` errors. ce78a23
@myronmarston myronmarston Make `match` specs more robust.
- Specify failure messages, rather than just
  `expect { }.to fail`.
- Add specs covering `expect(/regexp/)`. We had
  cuke coverage for this, but not specs.
77a6d65
@myronmarston myronmarston Convert to guard clause.
5eb092c
@myronmarston myronmarston Merge pull request #772 from rspec/fix-match-bug
Fix match bug
a75fe7b
Commits on Apr 16, 2015
@JonRowe JonRowe be specific about exceptions in our own test suite 16bc242
@JonRowe JonRowe configuration for warning about false positives 25955fa
@JonRowe JonRowe issue a warning when a bare raise_error is used e70959a
@JonRowe JonRowe add additonal examples covering no warnings c4122f1
@JonRowe JonRowe reduce cyclomatic complexity of RaiseError#match? b8f3d0a
@JonRowe JonRowe move bare raise_error warning message into a method 40484a4
@JonRowe JonRowe add expectation for no warnings b4bd497
@JonRowe JonRowe extract warnings configuration to shared context 55df233
@JonRowe JonRowe changelog for #768
4ac75c9
@JonRowe JonRowe Merge pull request #768 from rspec/warn_about_bare_raise_error
Warn about bare `raise_error`
1f36a90
Commits on Apr 17, 2015
@myronmarston myronmarston Stop assuming the format of `test_double.inspect`.
This is necessary for rspec/rspec-mocks#932.
f96d44e
@myronmarston myronmarston Merge pull request #774 from rspec/fix-double-formatting-failures
Stop assuming the format of `test_double.inspect`.
b574ab2
Commits on Apr 20, 2015
@JonRowe JonRowe change config for false positives to `warn_about_potential_false_posi…
…tives`
4c14be5
@myronmarston myronmarston Merge pull request #778 from rspec/rename_config_for_false_positives
Rename config for false positives to `warn_about_potential_false_positives`
1c191a0
Commits on Apr 22, 2015
@JonRowe JonRowe change not_raise(something_specific) behaviour to warn rather than error 4b41f37
@JonRowe JonRowe changelog for 775
868cb9a
@JonRowe JonRowe Merge pull request #775 from rspec/change_raise_error_behaviour
Change error for `expect { }.not_to raise_error(something_specific)` to warn and respect new config
2523736
Commits on Apr 23, 2015
@ChrisArcand ChrisArcand Show only differing results in #include
Most basic example:
Failure/Error: expect("abc").to include("a", "d", "c", "e")
       expected "abc" to include "a", "d", and "c"

now only should read 'expected "abc" to include "d" and "e"'
b1468df
Commits on Apr 24, 2015
@ChrisArcand ChrisArcand Add benchmarks for new `include` implementation
Compares performance of include matcher before and after #780
a61a07a
@myronmarston myronmarston Merge pull request #780 from ChrisArcand/improve-include-matcher-output
Show only differing results in #include
e85722d
@myronmarston myronmarston Add changelog for #780.
[ci skip]
714c1ed
Commits on Apr 29, 2015
@ChrisArcand ChrisArcand Omit all Ruby < 1.9 only code from test coverage
60aae1e
@JonRowe JonRowe Merge pull request #784 from ChrisArcand/moar-test-coverage
Omit all Ruby < 1.9 only code from test coverage
087658b
Commits on Apr 30, 2015
@ChrisArcand ChrisArcand Updated spec and documentation for issue #719
Expected results of code changes for issue #719, allowing the `satisfy`
matcher to accept a custom description for improved failure messages.
98d36d7
@ChrisArcand ChrisArcand Allow custom descriptions for `satisfy` matcher
This provides greater flexibility by allowing someone to specify the
description to be used by `satisfy`; Error messages which were forced
to be 'expected [actual] to satisfy block' can have more meaning.
b5f6766
@myronmarston myronmarston Merge pull request #783 from ChrisArcand/satisfy-custom-description
`satisfy` matcher custom descriptions
792e651
@myronmarston myronmarston Add changelog for #783.
[ci skip]
0d9e3b0
Commits on May 03, 2015
@fabschurt fabschurt Add some missing backticks and remove redundant spaces
Some references to code symbols (classes, methods…) were enclosed in
backticks, and others weren't. I think this styling should be consistent
across features, and that backticks are better for readability, so I put
some everywhere I could see they were missing.
115dc9f
@fabschurt fabschurt Add a missing word and a missing space 458221f
@fabschurt fabschurt Make a word-wrap break a bit longer
The word-wrap break here was a bit short, and Relish's MD parser seems
to honor manual breaks instead of just replacing them by spaces (like
GitHub's MD parser does), so the final output looked a little weird.
e0ca7cb
Commits on May 05, 2015
@JonRowe JonRowe Updated travis build scripts (from rspec-dev)
a3e4ef6
@JonRowe JonRowe Merge pull request #787 from rspec/update-travis-build-scripts-2015-0…
…5-05-for-master

Updates from rspec-dev (2015-05-05)
d76a494
Commits on May 12, 2015
@myronmarston myronmarston Merge pull request #786 from fabschurt/fix-features-cosmetics
[Documentation] [Features] Various cosmetic enhancements
6717b72
@myronmarston myronmarston Add new `aggregate_failure` feature.
Closes #733.
d72f9fd
@myronmarston myronmarston Improve our spec for minitest integration. b00d6bc
@myronmarston myronmarston Make `aggregate_failures` work properly on minitest. e2431c5
@myronmarston myronmarston Disable failing rubocop check. da112ca
@myronmarston myronmarston Ensure aggregated failures have stack traces. 4f24cb1
@myronmarston myronmarston Fix cucumber wip profile so it works right.
Before, it wouldn’t run anything for some reason.
c89d81b
@myronmarston myronmarston Add WIP cuke for `aggregate_failures`. 8ae2468
Commits on May 13, 2015
@myronmarston myronmarston Make `aggregate_failures` play nice with using expectations in custom…
… matchers.
cc66c17
@myronmarston myronmarston Support nested aggregation blocks.
I'm not sure why a user would want to do this, but
for consistency it should work.
c52ea82
Commits on May 14, 2015
@myronmarston myronmarston Add explanatory comments for the odd rescues. 18e3ede
@myronmarston myronmarston Fix grammar.
[ci skip]
ff32e44
@myronmarston myronmarston Add changelog [ci skip] 0fea099
@myronmarston myronmarston Update cuke.
Limit it to demonstrate the feature using only rspec-expectations.
Using the feature in the context of rspec-core results in much
improved failure output, but will make this cuke quit brittle as
changes in rspec-core's formatting logic will break the cuke here.

I'm going to add an rspec-core cuke for this feature as well.
1281d84
@myronmarston myronmarston Update docs.
701e9e2
@myronmarston myronmarston Add link back to rspec-core cuke.
669cf4f
@myronmarston myronmarston Add missing word to comment.
8f62464
Commits on May 16, 2015
@myronmarston myronmarston Merge pull request #776 from rspec/aggregate-failures
Aggregate failures
a2b71ea
Commits on May 18, 2015
@imtayadeway imtayadeway RaiseError can support first arg matcher on message.
raise_error can support a matcher on the second argument but to be
consistent should be able to take a matcher on the first (as with
Regexps, Strings). This change enables this behavior by trying to match
flexibly on either the exception or the exception's message. This also
allowed a special case for Regexps to be removed.

It also fixes a bug in custom matcher created for testing raise_error's
composability.

#762
6d2c1fe
Commits on May 19, 2015
@myronmarston myronmarston Merge pull request #782 from imtayadeway/tw/raise-error-first-arg-mat…
…chers

RaiseError can support first arg matcher on message.
d856440
@myronmarston myronmarston Changelog for #782.
[ci skip]
54a5710
Commits on May 23, 2015
@myronmarston myronmarston Ignore spec/examples.txt 6dc876d
@myronmarston myronmarston ObjectInspector.inspect -> ObjectFormatter.format.
14faeab
Commits on May 25, 2015
@JonRowe JonRowe Merge pull request #792 from rspec/update-to-object-formatter
Update to object formatter
2e2a856
Commits on May 28, 2015
@takiy33 takiy33 Removed deprecated option from .gemspec
590b5cb
@JonRowe JonRowe Merge pull request #794 from takiy33/takiy33-patch-1
Removed deprecated option from .gemspec
4ab488c
Commits on May 29, 2015
@myronmarston myronmarston Deal with JRuby caller vs raise stacktrace differences.
e55ebb8
@JonRowe JonRowe Merge pull request #796 from rspec/consistent-jruby-backtraces
Deal with JRuby caller vs raise stacktrace differences.
5264150
Commits on Jun 02, 2015
@myronmarston myronmarston Make time formatting spec consistently pass on 1.8.7.
It was failing on my machine because my timezone isn’t set to UTC.
5c313a4
@myronmarston myronmarston Fix specs that occasionally fail on 1.8.7.
These specs failed as part of rspec-core’s build:

https://travis-ci.org/rspec/rspec-core/jobs/65061936
1784c2b
@JonRowe JonRowe Merge pull request #798 from rspec/address-1.8.7-hash-ordering
Address 1.8.7 hash ordering
199129b
Commits on Jun 03, 2015
@myronmarston myronmarston Update failure notifiers to handle new options arg. 1bd0b6e
@myronmarston myronmarston Ignore additional failures with an already-seen source id.
c7225f8
@myronmarston myronmarston Merge pull request #799 from rspec/dedup-exceptions
Dedup exceptions
ae3c272
Commits on Jun 05, 2015
@myronmarston myronmarston Refactor: expose `all_exceptions` in a way that allows ordered additi…
…ons.
3482276
Commits on Jun 06, 2015
@myronmarston myronmarston Work around travis build failing on REE.
The `include` cuke has a bunch of assertions that are failing
on REE since 1.8.7 does not guarantee hash ordering, so when
a hash is inspected, it could produce `{ :b => 2, :a => 1 }`
instead of `{ :a => 1, :b => 2 }`.
8c403a0
Commits on Jun 08, 2015
@JonRowe JonRowe Merge pull request #800 from rspec/refactor-aggregate-error
Refactor: expose `all_exceptions` in a way that allows ordered additions.
8ed901e
Commits on Jun 09, 2015
@myronmarston myronmarston Silence diff that is just whitespace.
It looks empty when printed, after all.
d214201
Commits on Jun 10, 2015
@machty machty Typo fix: contain_exactly => include
4aa2708
@JonRowe JonRowe Merge pull request #802 from machty/include-typo
Typo fix: contain_exactly => include
1dcc651
@JonRowe JonRowe Merge pull request #801 from rspec/silence-empty-diff
Silence diff that is just whitespace.
57eb890
Commits on Jun 12, 2015
@myronmarston myronmarston Updates changelog for v3.3.0 [ci skip] 322ce10
@myronmarston myronmarston Release 3.3.0
7a39cf7
@myronmarston myronmarston Fix relish rspec-core link.
00315be
@myronmarston myronmarston Bump version to 3.4.0.pre.
d03a69b
Commits on Jun 23, 2015
@maxmeyer maxmeyer Fixed bug in be_*-matcher
c0990b0
@JonRowe JonRowe Merge pull request #809 from dg-ratiodata/feature/fixed_be_matcher
Fixed bug in be_*-matcher
3c4a0c9
@JonRowe JonRowe changelog for #809
[skip ci]
e1f464b
Commits on Jun 24, 2015
@dg-ratiodata dg-ratiodata Add some documentation for custom matchers
976870b
@JonRowe JonRowe Merge pull request #808 from dg-ratiodata/feature/documentation_matchers
Add some documentation for custom matchers
5eba368
@myronmarston myronmarston Move changelog entry for #809 into 3.4.0 Development section.
It was not included in 3.3.0 and should not be in that section.

Also, rephrase it in more user-facing terms.
be2bf7d
@myronmarston myronmarston Remove excess period.
[ci skip]
1a362f1