Overview

Request 284558 accepted

- updated to version 3.2.0
Enhancements:

* Add `block_arg` method to custom matcher API, which allows you to
access the block passed to a custom matcher, if there is one.
(Mike Dalton, #645)
* Provide more detail in failure message of `yield_control` matcher.
(Jon Rowe, #650)
* Add a shorthand syntax for `chain` in the matcher DSL which assigns values
for use elsewhere, for example `chain :and_smaller_than, :small_value`
creates an `attr_reader` for `small_value` (Tom Stuart, #644)
* Provide a more helpful deprecation message when using the `should` syntax.
(Elia Schito, #663)
* Provide more detail in the `have_attributes` matcher failure message.
(Jon Rowe, #668)
* Make the `have_attributes` matcher diffable.
(Jon Rowe, Alexey Fedorov, #668)
* Add `output(...).to_std(out|err)_from_any_process` as alternatives
to `output(...).to_std(out|err)`. The latter doesn't work when a sub
process writes to the named stream but is much faster.
(Alex Genco, #700)
* Improve compound matchers (created by `and` and `or`) so that diffs
are included in failures when one or more of their matchers
are diffable. (Alexey Fedorov, #713)

Bug Fixes:

* Avoid calling `private_methods` from the `be` predicate matcher on
the target object if the object publicly responds to the predicate
method. This avoids a possible error that can occur if the object

Request History
Stephan Kulow's avatar

coolo created request

- updated to version 3.2.0
Enhancements:

* Add `block_arg` method to custom matcher API, which allows you to
access the block passed to a custom matcher, if there is one.
(Mike Dalton, #645)
* Provide more detail in failure message of `yield_control` matcher.
(Jon Rowe, #650)
* Add a shorthand syntax for `chain` in the matcher DSL which assigns values
for use elsewhere, for example `chain :and_smaller_than, :small_value`
creates an `attr_reader` for `small_value` (Tom Stuart, #644)
* Provide a more helpful deprecation message when using the `should` syntax.
(Elia Schito, #663)
* Provide more detail in the `have_attributes` matcher failure message.
(Jon Rowe, #668)
* Make the `have_attributes` matcher diffable.
(Jon Rowe, Alexey Fedorov, #668)
* Add `output(...).to_std(out|err)_from_any_process` as alternatives
to `output(...).to_std(out|err)`. The latter doesn't work when a sub
process writes to the named stream but is much faster.
(Alex Genco, #700)
* Improve compound matchers (created by `and` and `or`) so that diffs
are included in failures when one or more of their matchers
are diffable. (Alexey Fedorov, #713)

Bug Fixes:

* Avoid calling `private_methods` from the `be` predicate matcher on
the target object if the object publicly responds to the predicate
method. This avoids a possible error that can occur if the object


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added factory-repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review


Max Lin's avatar

mlin7442 set openSUSE:Factory:Staging:C as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:C"


Max Lin's avatar

mlin7442 accepted review

Picked openSUSE:Factory:Staging:C


Dominique Leuenberger's avatar

dimstar accepted review

ok


Factory Repo Checker's avatar

factory-repo-checker accepted review

Builds for repo openSUSE:Factory:Staging:C/standard


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to Factory

openSUSE Build Service is sponsored by