Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow expectations on subclass any instance methods. #1130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Dec 8, 2016

This allows us to override methods which are present on a parent and subclass with any_instance_of.

Closes #1077, /cc @samphippen

@nunommc
Copy link

nunommc commented Jul 5, 2017

@JonRowe will you try to fix the build? I'm now also getting this issue with the expect_any_instance_of

@JonRowe
Copy link
Member Author

JonRowe commented Jul 6, 2017

@nunommc I'm not sure I have the time, if you'd like to takeover feel free

@JonRowe JonRowe force-pushed the allow_any_instance_sub_class_mocks branch from 9562a60 to a255002 Compare September 9, 2019 18:41
@JonRowe JonRowe force-pushed the allow_any_instance_sub_class_mocks branch from a255002 to ab56cf5 Compare October 2, 2019 15:00
@JonRowe JonRowe force-pushed the allow_any_instance_sub_class_mocks branch from ab56cf5 to 4dba1ec Compare October 2, 2019 15:00
@JonRowe JonRowe changed the base branch from master to main August 2, 2020 02:08
@arg
Copy link

arg commented Mar 9, 2023

We faced #1077 today, would be great to have this fix finally merged.

@JonRowe
Copy link
Member Author

JonRowe commented Mar 9, 2023

@arg it's not finished and I'm not currently working on it, feel free to pick it up from here if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants