shard-spectator/src/spectator/mocks
Michael Miller 0970f02465
Yield instead of forwarding block
Forwarding the block like this captures it, which prevents yield from 
being used.
Addresses https://gitlab.com/arctic-fox/spectator/-/issues/54
2020-09-27 10:14:30 -06:00
..
allow.cr Add receive_messages macro to stub multiple methods 2019-11-11 22:27:53 -07:00
allow_any_instance.cr Add receive_messages macro to stub multiple methods 2019-11-11 22:27:53 -07:00
anonymous_double.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
anonymous_null_double.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
arguments.cr Store arguments in method stub 2019-11-03 11:18:46 -07:00
double.cr Workaround for what seems to be a Crystal macro bug 2020-01-01 21:48:58 -07:00
exception_method_stub.cr Pass along original block 2019-11-20 16:29:06 -07:00
expect_any_instance.cr Registry#expect takes a stub 2019-12-13 19:56:43 -07:00
generic_arguments.cr Fix GenericArguments#to_s 2019-11-14 18:06:20 -07:00
generic_method_stub.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
method_call.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
method_stub.cr Yield instead of forwarding block 2020-09-27 10:14:30 -06:00
multi_value_method_stub.cr Pass along original block 2019-11-20 16:29:06 -07:00
nil_method_stub.cr Implement and_call_original 2019-11-20 19:17:51 -07:00
original_method_stub.cr Implement and_call_original 2019-11-20 19:17:51 -07:00
proc_method_stub.cr Pass along original block 2019-11-20 16:29:06 -07:00
reflection.cr Don't use a splat here 2020-03-07 17:05:52 -07:00
registry.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
stubs.cr No need to specify arguments to super and previous_def 2020-04-28 08:30:40 -06:00
type_registry.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00
unexpected_message_error.cr Raise UnexpectedMessageError 2019-11-11 22:08:36 -07:00
value_method_stub.cr Pass along original block 2019-11-20 16:29:06 -07:00
verifying_double.cr Remove GenericMethodCall 2019-12-13 19:54:06 -07:00