Sha256: 405560d80e99cb8ba15b9cf2d4e3e161901c347ffcc73a9243ae6968d3a6a40c

Contents?: true

Size: 399 Bytes

Versions: 30

Compression:

Stored size: 399 Bytes

Contents

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

  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

30 entries across 30 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-2.0.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-2.0.0.rc2 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-2.0.0.rc1 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.13.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.8 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.7 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.6 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.5 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.4 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.3 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.2 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.1 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.12.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.11.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.10.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.9.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.8.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.7.0 spec/lib/moneta/api/requests/create_account_request_spec.rb
moneta-api-1.6.0 spec/lib/moneta/api/requests/create_account_request_spec.rb