Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 14a913bc5f
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 0.539 kb
require 'simplecov'
SimpleCov.start
require 'tradehill'
require 'rspec'
require 'webmock/rspec'
def a_get(path)
a_request(:get, 'https://api.tradehill.com' + path)
end
def stub_get(path)
stub_request(:get, 'https://api.tradehill.com' + path)
end
def a_post(path)
a_request(:post, 'https://api.tradehill.com' + path)
end
def stub_post(path)
stub_request(:post, 'https://api.tradehill.com' + path)
end
def fixture_path
File.expand_path('../fixtures', __FILE__)
end
def fixture(file)
File.new(fixture_path + '/' + file)
end
Jump to Line
Something went wrong with that request. Please try again.