module RSpec::GraphqlAssistant::Helpers
Public Instance Methods
graphql_mutation(name, args, response)
click to toggle source
# File lib/rspec/graphql_assistant/helpers.rb, line 5 def graphql_mutation(name, args, response) QueryBuilder.new(:mutation, name, args, response).call end
graphql_query(name, args, response)
click to toggle source
# File lib/rspec/graphql_assistant/helpers.rb, line 9 def graphql_query(name, args, response) QueryBuilder.new(:query, name, args, response).call end
graphql_subscription(name, args, response)
click to toggle source
# File lib/rspec/graphql_assistant/helpers.rb, line 13 def graphql_subscription(name, args, response) QueryBuilder.new(:subscription, name, args, response).call end