Sha256: f98d116005279fbcf1b0042f0481eac2eb13faee1eb63053e8acbebb629cd17c

Contents?: true

Size: 474 Bytes

Versions: 26

Compression:

Stored size: 474 Bytes

Contents

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

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

  let(:params) do
    {
      unit_id: unit_id,
      profile: {
        fio_director: 'Peter Pen',
        organization_name: 'The Lost Boys'
      }
    }
  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_organization_profile_request_spec.rb
moneta-api-1.4.0 spec/lib/moneta/api/requests/profile/edit_organization_profile_request_spec.rb
moneta-api-1.3.0 spec/lib/moneta/api/requests/profile/edit_organization_profile_request_spec.rb
moneta-api-1.2.1 spec/lib/moneta/api/requests/profile/edit_organization_profile_request_spec.rb
moneta-api-1.2.0 spec/lib/moneta/api/requests/profile/edit_organization_profile_request_spec.rb
moneta-api-1.1.0 spec/lib/moneta/api/requests/profile/edit_organization_profile_request_spec.rb