Sha256: cacdb86fdafa1f56d9593d04c26ef2cb467e1d6dccbcc23f23f371bfc92805a8

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Resolvers::<%= class_name %>, type: :request do
  let(:query) do
    <<-GRAPHQL
      query {
        <%= class_name.underscore %>()
      }
    GRAPHQL
  end

  describe '#resolve' do
    it 'pass' do
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
graphql_scaffold_fan-0.2.8 lib/generators/templates/query_test.haml
graphql_scaffold_fan-0.2.7 lib/generators/templates/query_test.haml
graphql_scaffold_fan-0.2.6 lib/generators/templates/query_test.haml
graphql_scaffold_fan-0.2.5 lib/generators/templates/query_test.haml
graphql_scaffold_fan-0.2.4 lib/generators/templates/query_test.haml
graphql_scaffold_fan-0.2.3 lib/generators/templates/query_test.haml