Sha256: a773abb8a4c322cdbdf620d8f3b8e695dda94b3c8ca53ccd6a5611fce858b1b1

Contents?: true

Size: 392 Bytes

Versions: 6

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'
describe Paysio::Wallet do
  it { should be_listable_resource }
  it { should be_updatable_resource }
  it { should be_deleteable_resource }

  it "should return wallet on create" do
    client = authorized_paysio_client

    client.expects(:post).once.returns(test_response(test_wallet))
    c = Paysio::Wallet.create
    c.should be_a_kind_of(Paysio::Wallet)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paysio-1.0.10 spec/resources/wallet_spec.rb
paysio-1.0.9 spec/resources/wallet_spec.rb
paysio-1.0.8 spec/resources/wallet_spec.rb
paysio-1.0.7 spec/resources/wallet_spec.rb
paysio-1.0.6 spec/resources/wallet_spec.rb
paysio-1.0.5 spec/resources/wallet_spec.rb