Module: RSpec::Matchers
- Defined in:
- lib/rspec/graphql_matchers/matchers.rb
Instance Method Summary collapse
- #accept_arguments(expected_args) ⇒ Object (also: #accept_argument)
- #be_of_type(expected) ⇒ Object
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 |