Sha256: 3ef2c17524998ca95c21b6027c168e8cfc8405911632e55ba99d3d36be045774
Contents?: true
Size: 611 Bytes
Versions: 26
Compression:
Stored size: 611 Bytes
Contents
describe Moneta::Api::Requests::Profile::CreateClientProfileRequest, vcr: true do include_context 'moneta' let(:params) { {} } let(:request) { described_class.new } before { request.fill(params) } describe 'request' do subject { request } its(:profile_type) { is_expected.to eq 'client' } end describe 'response' do let(:params) do { profile: { last_name: 'Мономах', first_name: 'Владимир' } } end subject { service.create_profile(request) } its(:profile_id) { is_expected.to be_a_moneta_id } end end
Version data entries
26 entries across 26 versions & 1 rubygems