Sha256: e78b64547f0f2bdc4bc40e72af5e5bc8c271cf679ae56bedf5159fa232092132

Contents?: true

Size: 494 Bytes

Versions: 14

Compression:

Stored size: 494 Bytes

Contents

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

  let(:unit_id) { 42868 }
  let(:request) { described_class.new }
  let(:response) { service.approve_phone_send_confirmation(request) }
  let(:text) { 'Ваш код для подтверждения {CODE}' }
  let(:params) { { unit_id: unit_id, text: text } }

  before { request.fill(params) }

  subject { response }

  its(:phone_number) { is_expected.to eq('79520348677') }
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-2.0.0 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-2.0.0.rc2 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-2.0.0.rc1 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.13.0 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.8 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.7 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.6 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.5 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.4 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.3 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.2 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.1 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
moneta-api-1.12.0 spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb