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

Support for diffing message expectations? #205

Open
babelfish opened this issue Jan 4, 2024 · 1 comment
Open

Support for diffing message expectations? #205

babelfish opened this issue Jan 4, 2024 · 1 comment

Comments

@babelfish
Copy link

I was happy to find this project as this is a regular frustration of mine, but it doesn't appear to support message expectations from rspec-mocks. I deal with a lot of tests that include something like:

expect(foo).to receive(:bar).with(
  hash_including(so_many_things...)
)

Trying to parse the normal rspec output for this when something is off is an absolute nightmare.

I see !67, but it hasn't been touched in 4 years. Is there any plan to finish this feature?

@mcmire
Copy link
Collaborator

mcmire commented Jan 31, 2024

Hi @babelfish! Sorry for the late response. Thanks for the reminder on that feature — you're right that this gem doesn't support message expectations currently, and that PR was originally designed to solve it. I believe I stopped it because I realized I would need to write a ton of tests 😅 I'm trying to work through some of the lower hanging fruit at the moment but I will try to dust it off soon as I agree it would be worthwhile.

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

No branches or pull requests

3 participants