Open ioquatix opened 1 year ago
When mocking a method, object.method(:mocked_method).parameters no longer reflects the original method.
object.method(:mocked_method).parameters
I wonder if we can improve that? It may not be practical.
I guess because we splat and verify later, it probably is possible to improve this to define same parameter methods for the proxy, but it may break things... definietly would be keen to explore this
When mocking a method,
object.method(:mocked_method).parameters
no longer reflects the original method.I wonder if we can improve that? It may not be practical.