mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-04-20 13:15:48 +00:00
remove unused methods from spec_helper
This commit is contained in:
parent
f6fca37fd9
commit
7911a83137
1 changed files with 0 additions and 23 deletions
|
|
@ -11,37 +11,14 @@ require 'instapaper'
|
|||
require 'rspec'
|
||||
require 'webmock/rspec'
|
||||
|
||||
def a_delete(path)
|
||||
a_request(:delete, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def a_get(path)
|
||||
a_request(:get, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def a_post(path)
|
||||
a_request(:post, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def a_put(path)
|
||||
a_request(:put, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def stub_delete(path)
|
||||
stub_request(:delete, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def stub_get(path)
|
||||
stub_request(:get, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def stub_post(path)
|
||||
stub_request(:post, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def stub_put(path)
|
||||
stub_request(:put, Instapaper::HTTP::Request::BASE_URL + path)
|
||||
end
|
||||
|
||||
def fixture_path
|
||||
File.expand_path('../fixtures', __FILE__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue