khamusa / rspec-graphql_matchers

Collection of rspec matchers to test your graphQL api schema.
MIT License
145 stars 49 forks source link

undefined method `failure_message_when_negated' #37

Open orenbnv opened 4 years ago

orenbnv commented 4 years ago

Rspec:

it { is_expected.not_to have_field(:some_field) }

If your Type actually includes this field, will result in the following error message:

NoMethodError: undefined method `failure_message_when_negated' for # Did you mean? failure_message