rspec-graphql_matchers
rspec-graphql_matchers copied to clipboard
.Legacy `.to_graphql` objects are deprecated and will be removed in GraphQL-Ruby 2.0.
.Legacy .to_graphql
objects are deprecated and will be removed in GraphQL-Ruby 2.0. Remove .to_graphql
to use a class-based definition instead.
it { is_expected.to have_field(:id).of_type('ID!') }
Backtrace
/spec-graphql_matchers-1.3.1/lib/rspec/graphql_matchers/have_a_field.rb:83:in `actual_field`