Sha256: 3636652a1605045ef51bb2c3c53346427af1ff4677053990794ebe02760db139
Contents?: true
Size: 482 Bytes
Versions: 11
Compression:
Stored size: 482 Bytes
Contents
require 'spec_helper' describe BitWallet do describe '.config' do it 'should be a configurable object' do described_class.config.min_conf = 22 described_class.config.min_conf.should == 22 end end describe '.at' do it 'should wrap the a wallet wrapping the Bitcoin client' do wallet = double BitWallet::Wallet.should_receive(:new).with(args: 'a').and_return(wallet) described_class.at(args: 'a').should == wallet end end end
Version data entries
11 entries across 11 versions & 1 rubygems