Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit fffbfda

Browse files
committed
Changelog for #1012.
[ci skip]
1 parent a0c3958 commit fffbfda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
### 3.8 Development
22
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.7.0...master)
33

4+
Enhancements:
5+
46
* Improve failure message of `change(receiver, :message)` by including the
57
receiver as `SomeClass#some_message`. (Tomohiro Hashidate, #1005)
68
* Improve `change` matcher so that it can correctly detect changes in
79
deeply nested mutable objects (such as arrays-of-hashes-of-arrays).
810
The improved logic uses the before/after `hash` value to see if the
911
object has been mutated, rather than shallow duping the object.
1012
(Myron Marston, #1034)
13+
* Improve `include` matcher so that pseudo-hash objects (e.g. objects
14+
that decorate a hash using a `SimpleDelegator` or similar) are treated
15+
as a hash, as long as they implement `to_hash`. (Pablo Brasero, #1012)
1116

1217
### 3.7.0 / 2017-10-17
1318
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.6.0...v3.7.0)

0 commit comments

Comments
 (0)