1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Pedro Paiva
7d098c92f2 Revert "Use autoloading instead of requiring all files up front"
This reverts commit ce78101362.
2020-08-26 10:52:54 -06:00
Pedro Paiva
ce78101362 Use autoloading instead of requiring all files up front 2020-08-24 21:47:12 -06:00
Elliot Winkler
6a0e436290 Remove warnings that fail the build 2020-08-23 22:58:51 -06:00
Elliot Winkler
00a84c0bfe Update documentation
[ci skip]
2019-02-16 03:01:35 -07:00
Elliot Winkler
b695c2f978 Rename DelegateMatcher to DelegateMethodMatcher
Matcher classes are named after the matcher method itself.
2014-08-29 11:57:26 -06:00
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
Damian Galarza and Mason Fischer
f7e4c7d6cb Restore delegation matchers
This commit reverts 77dc477c
2014-03-16 13:38:16 -04:00
Melissa Xie
d3525f129e Remove 'delegate_method' matcher
* See issue #252
2013-04-03 13:08:26 -04:00
Jason Draper
4b54e65ffe Change naming to non-Rails-dependent instead of related 2012-10-19 09:22:33 -04:00
Reade Harris
a117db9ff7 Respond to feedback. 2012-10-19 09:22:32 -04:00
Reade Harris
2377fb44af Add #delegate_method matcher. 2012-10-19 09:22:32 -04:00