Sha256: 4704524b5434dfc68307b302d4cee4a9700a7a7d3707d44430664316bf06e361
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
require File.expand_path('../test_assistant', __FILE__) require "digest/md5" module Pingpp class BalanceTransactionTest < Test::Unit::TestCase should "execute should return a balance_transaction list when passed correct parameters" do txns = Pingpp::BalanceTransaction.list({:per_page => 3}, {:user => get_user_id}) assert txns.object == 'list' assert txns.data.count <= 3 end should "execute should return an exist balance_transaction when passed correct id" do txn = Pingpp::BalanceTransaction.retrieve(get_txn_id, {:user => get_user_id}) assert txn.object == 'balance_transaction' assert txn.id == get_txn_id end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pingpp-2.1.1 | test/balance_transaction_test.rb |