Sha256: 0ed4b3d64237f771ad4ecca3727c38c9148ad396a1283254ccd36234b8910da5

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

describe Moneta::Api::Requests::CreateAccountRequest, vcr: true do
  let(:service) { Moneta::Api::Service.new($username, $password) }

  describe 'create account' do
    let(:request) do
      described_class.new.tap do |request|
        request.currency = 'RUB'
        request.payment_password = '12345'
      end
    end

    subject { service.create_account(request) }

    its(:account_id) { is_expected.to be_a_moneta_id }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moneta-api-1.0.0 spec/lib/moneta/api/requests/create_account_request_spec.rb