Sha256: 1e758a9ac3b71f1ddf9f2a626a00ab7a3f52bc8e041c40747e6122ed7b255cf5
Contents?: true
Size: 790 Bytes
Versions: 10
Compression:
Stored size: 790 Bytes
Contents
require 'simplecov' SimpleCov.start require 'flattr' require 'rspec' require 'webmock/rspec' def a_delete(path, endpoint=Flattr.endpoint) a_request(:delete, endpoint + path) end def a_get(path, endpoint=Flattr.endpoint) a_request(:get, endpoint + path) end def a_post(path, endpoint=Flattr.endpoint) a_request(:post, endpoint + path) end def a_put(path, endpoint=Flattr.endpoint) a_request(:put, endpoint + path) end def stub_delete(path, endpoint=Flattr.endpoint) stub_request(:delete, endpoint + path) end def stub_get(path, endpoint=Flattr.endpoint) stub_request(:get, endpoint + path) end def stub_post(path, endpoint=Flattr.endpoint) stub_request(:post, endpoint + path) end def stub_put(path, endpoint=Flattr.endpoint) stub_request(:put, endpoint + path) end
Version data entries
10 entries across 10 versions & 1 rubygems