Sha256: a8e99d5e42c1ed79c6c468f878405c0548aa82fea1dbccb70427e361ffac5b15
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' RSpec.describe GraphqlDevise::MountMethod::OperationPreparers::MutationFieldSetter 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(:field).with(:authenticatable, field_type, null: false) prepared_operation end end end
Version data entries
6 entries across 6 versions & 1 rubygems