Sha256: 54721af81dab51bd4b2f1625e5c28d9f0dce0bfe5e87d8e5ba2e428a79a3a697

Contents?: true

Size: 466 Bytes

Versions: 26

Compression:

Stored size: 466 Bytes

Contents

describe Moneta::Api::Requests::Profile::EditClientProfileRequest, vcr: true do
  include_context 'moneta'

  let(:unit_id) { 42868 }
  let(:request) { described_class.new }

  let(:params) do
    {
      unit_id: unit_id,
      profile: {
        last_name: 'Мономах',
        first_name: 'Владимир'
      }
    }
  end

  before { request.fill(params) }

  subject { service.edit_profile(request) }

  its(:success) { is_expected.to be_truthy }
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
moneta-api-1.5.0 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb
moneta-api-1.4.0 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb
moneta-api-1.3.0 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb
moneta-api-1.2.1 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb
moneta-api-1.2.0 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb
moneta-api-1.1.0 spec/lib/moneta/api/requests/profile/edit_client_profile_request_spec.rb