pokemon_trade_schema_spec.rb 332 B

12345678910111213
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe PokemonTradeSchema, type: :graphql do
  4. it 'has the base mutation' do
  5. expect(described_class.mutation).to eq ::Types::MutationType.to_graphql
  6. end
  7. it 'has the base query' do
  8. expect(described_class.query).to eq ::Types::QueryType.to_graphql
  9. end
  10. end