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

add has_metadata matcher on object type #12

Closed
marcgreenstock opened this issue Jul 27, 2017 · 1 comment
Closed

add has_metadata matcher on object type #12

marcgreenstock opened this issue Jul 27, 2017 · 1 comment

Comments

@marcgreenstock
Copy link
Contributor

Like Field, anything that includes InstanceDefinable can have metadata.

It would be great to have test like:

it { is_expected.to have_metadata({foo: 'bar'}) }
@khamusa
Copy link
Owner

khamusa commented Jun 22, 2019

This is already supported for a while for those using graphql 1.7.x. I'm closing this issue for now.

@khamusa khamusa closed this as completed Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants