lib/rspec/graphql_matchers/matchers.rb in rspec-graphql_matchers-1.4.0 vs lib/rspec/graphql_matchers/matchers.rb in rspec-graphql_matchers-2.0.0.pre.rc.0

- old
+ new

@@ -26,15 +26,15 @@ RSpec::GraphqlMatchers::HaveAField.new(field_name) end alias have_field have_a_field def have_an_input_field(field_name) - RSpec::GraphqlMatchers::HaveAField.new(field_name, :input_fields) + RSpec::GraphqlMatchers::HaveAField.new(field_name, :arguments) end alias have_input_field have_an_input_field def have_a_return_field(field_name) - RSpec::GraphqlMatchers::HaveAField.new(field_name, :return_fields) + RSpec::GraphqlMatchers::HaveAField.new(field_name) end alias have_return_field have_a_return_field # rubocop:enable Naming/PredicateName def implement(*interface_names)