Commit graph

15 commits

Author SHA1 Message Date
Michael Miller
8f80b10fc1
Support injecting mock functionality into modules
Add mock registry for a single module.
2022-12-18 19:04:50 -07:00
Michael Miller
a3c55dfa47
Add tests for module mocks docs 2022-12-18 18:52:08 -07:00
Michael Miller
f55c60e01f
Fix README spec
Mocked types cannot be private.
Moved to a module to prevent polluting the global namespace.
2022-12-17 21:01:22 -07:00
Michael Miller
5c910e5a85
Clear stubs defined with expect().to receive() syntax after test finishes 2022-10-09 13:57:28 -06:00
Michael Miller
c1e1666449
Formatting 2022-10-08 14:05:53 -06:00
Michael Miller
079272c9de
Add spec for custom matchers docs
Related: https://github.com/icy-arctic-fox/spectator/issues/46
2022-09-03 16:46:17 -06:00
Michael Miller
e2e33e440b
Add link 2022-07-14 19:59:47 -06:00
Michael Miller
9c888fef3f
Add specs for mocks and stubs docs 2022-07-14 19:11:45 -06:00
Michael Miller
c228984956
Add specs for anonymous and null object doubles docs 2022-07-14 13:51:24 -06:00
Michael Miller
7dd77a2096
Add spec for doubles docs 2022-07-14 13:18:13 -06:00
Michael Miller
e52f187eb7
Show new mock and double system in README 2022-07-12 23:22:47 -06:00
Michael Miller
d7c1c675ff
Add missing require for spec_helper 2022-05-25 17:28:11 -06:00
Michael Miller
b83c6b7b1e
Remove or skip mock, double, and stub tests 2022-03-19 17:20:15 -06:00
Michael Miller
414f132f49 Add missing require statement 2020-05-09 14:12:40 -06:00
Michael Miller
5c24d606dd Add specs of snippets from docs 2020-03-28 10:50:58 -06:00