Sha256: fb97a694d1c19e630125449643bcabd098315350279f8ce8ab55a108aff2c3c9
Contents?: true
Size: 404 Bytes
Versions: 9
Compression:
Stored size: 404 Bytes
Contents
require 'spec_helper' describe Bitstamp::Orders do before :each do read_bitstamp_yaml end it "should return an array when querying for all orders" do Bitstamp.orders.all.should be_kind_of Array end it "should sell bitcoins" do Bitstamp.orders.sell(:amount => 1, :price => 1000) end it "should buy bitcoins" do Bitstamp.orders.buy(:amount => 1, :price => 1.01) end end
Version data entries
9 entries across 9 versions & 1 rubygems