If you mean how can you get some test coins, google 'bitcoin testnet faucet'.
If you mean how to make the coins sent to you add to your account balance in database:
Make sure you set
walletnotify
option in.bitcoin/bitcoin.conf
. For example:walletnotify=curl http://localhost:3000/payment_transaction/btc/%s
With this a new PaymentTransaction will be created on new received coins.
Make sure you've run
rake daemons:start
. It will start a coin deposit daemon to process every PaymentTransaction created in previous step. Checklib/daemons/coin_deposits.rb
for more details.