Sha256: 357e86c11dc8fb06d6e2aa2e9e7c5633beb5dac37fbf2efcbee07119541aa11f
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
require 'helper' describe Faraday::Response do before do stub_get('/api/0/data/getTrades.php'). to_return(status: 200, body: fixture('mysql_error')) end it "should raise MtGox::MysqlError" do lambda do MtGox.trades end.should raise_error(MtGox::MysqlError) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mtgox-0.8.2 | spec/faraday/response_spec.rb |
mtgox-0.8.1 | spec/faraday/response_spec.rb |