Sha256: 1c0263d7a38dfa25e8997a23cd9767e0c4b97720dd56756189c5c6f990fee2ce
Contents?: true
Size: 598 Bytes
Versions: 10
Compression:
Stored size: 598 Bytes
Contents
$:.unshift File.expand_path('..', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__) require 'simplecov' SimpleCov.start require 'mtgox' require 'rspec' require 'webmock/rspec' def a_get(path) a_request(:get, 'https://mtgox.com' + path) end def stub_get(path) stub_request(:get, 'https://mtgox.com' + path) end def a_post(path) a_request(:post, 'https://mtgox.com' + path) end def stub_post(path) stub_request(:post, 'https://mtgox.com' + path) end def fixture_path File.expand_path('../fixtures', __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
10 entries across 10 versions & 1 rubygems