Sha256: c49bd0964cf4b93652a1be3d548c182850585bdd040087ce9a456d5e63cb8e55
Contents?: true
Size: 489 Bytes
Versions: 26
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe GraphqlDevise::MountMethod::OperationPreparers::ResolverTypeSetter do describe '#call' do subject(:prepared_operation) { described_class.new(field_type).call(operation) } let(:operation) { double(:operation) } let(:field_type) { double(:type) } it 'sets a field for the mutation' do expect(operation).to receive(:type).with(field_type, null: false) prepared_operation end end end
Version data entries
26 entries across 26 versions & 1 rubygems