1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/spec/shoulda/matchers/independent
Damian Galarza and Harry Schwartz 516fa75f6e Restore delegate_method matcher
Matcher was removed in commit 77dc477c due to issues described in
https://github.com/thoughtbot/shoulda-matchers/issues/252

We've moved away from using Bourne and Mocha's `HaveReceived` matcher and
implemented a `StubbedTarget` class for spying on methods to be delegated.
We also removed the stub call to be handled via `define_method` for
framework-independent support.

Other changes include:

* Use 1.9 hash syntax in `delegate_method`
* Don't explicity test failure messages
2014-03-21 14:54:16 -04:00
..
delegate_matcher Restore delegate_method matcher 2014-03-21 14:54:16 -04:00
delegate_matcher_spec.rb Restore delegate_method matcher 2014-03-21 14:54:16 -04:00