Sha256: fe9121eab0925322722229274ac7f132e7d14227cf10fe56213f37fb56698a01

Contents?: true

Size: 332 Bytes

Versions: 31

Compression:

Stored size: 332 Bytes

Contents

describe Moneta::Api::Responses::FindAccountByIdResponse do
  describe '#load_from' do
    subject { described_class.build(account: { id: '10999' }) }

    it 'should fill account info' do
      expect(subject.account).to be_kind_of(Moneta::Api::Types::AccountInfo)
      expect(subject.account.id).to eq('10999')
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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