Sha256: 354a7e1f8e2ab4500651001a3003fc8b9b8c34ab741303bfdd15ac908d1a9691
Contents?: true
Size: 547 Bytes
Versions: 7
Compression:
Stored size: 547 Bytes
Contents
require 'spec_helper' describe Paysio::Payout do it { should be_listable_resource } it "should return payout on create" do client = authorized_paysio_client client.expects(:post).once.returns(test_response(test_payout)) c = Paysio::Payout.create c.should be_a_kind_of(Paysio::Payout) end it "should have wallet" do client = authorized_paysio_client client.expects(:get).once.returns(test_response(test_payout)) c = Paysio::Payout.retrieve('someid') c.wallet.should be_a_kind_of(Paysio::Wallet) end end
Version data entries
7 entries across 7 versions & 1 rubygems