We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 an easy way to test the usage of property: field :public, types.Boolean, property: :is_public
property
field :public, types.Boolean, property: :is_public
The text was updated successfully, but these errors were encountered:
I'll take a stab at this.
how will something like this work?
it { is_expected.to have_a_field(:public).with_property(:is_public) }
I think it should also be capable of matching other options too, like hash_key and metadata.
hash_key
metadata
it { is_expected.to have_a_field(:myThing).with_hash_key(:my_thing).with_metadata(foo: :bar, baz: true) }
Sorry, something went wrong.
Nice! This looks good!
have_a_field
No branches or pull requests
Add an easy way to test the usage of
property
:field :public, types.Boolean, property: :is_public
The text was updated successfully, but these errors were encountered: