Sha256: a61f8298bfb789465845effcfe59ef59ee75e3edd598b8484968be29b45a68c9
Contents?: true
Size: 457 Bytes
Versions: 9
Compression:
Stored size: 457 Bytes
Contents
require 'spec_helper' RSpec.describe GraphqlDevise::MountMethod::OperationPreparers::GqlNameSetter do describe '#call' do subject(:prepared_operation) { described_class.new(mapping_name).call(operation) } let(:operation) { double(:operation) } let(:mapping_name) { 'user_login' } it 'sets a gql name to the operation' do expect(operation).to receive(:graphql_name).with('UserLogin') prepared_operation end end end
Version data entries
9 entries across 9 versions & 1 rubygems