Module: RSpec::Matchers

Defined in:
lib/rspec/graphql_matchers/matchers.rb

Instance Method Summary collapse

Instance Method Details

#accept_arguments(expected_args) ⇒ Object Also known as: accept_argument



11
12
13
# File 'lib/rspec/graphql_matchers/matchers.rb', line 11

def accept_arguments(expected_args)
  RSpec::GraphqlMatchers::AcceptArguments.new(expected_args)
end

#be_of_type(expected) ⇒ Object



7
8
9
# File 'lib/rspec/graphql_matchers/matchers.rb', line 7

def be_of_type(expected)
  RSpec::GraphqlMatchers::BeOfType.new(expected)
end