Sha256: 8447b63dc91ec6c1fbc199896ee249c82d8b7e1af3d952fd97e7ffcd14a9755e
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
$:.unshift File.expand_path('..', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__) require 'simplecov' SimpleCov.start require 'futures_pipeline' require 'rspec' require 'webmock/rspec' def a_delete(path) a_request(:delete, 'http://militarydemo.pipelinenc.com/' + path) end def a_get(path) a_request(:get, 'http://militarydemo.pipelinenc.com/' + path) end def a_post(path) a_request(:post, 'http://militarydemo.pipelinenc.com/' + path) end def a_put(path) a_request(:put, 'http://militarydemo.pipelinenc.com/' + path) end def stub_delete(path) stub_request(:delete, 'http://militarydemo.pipelinenc.com/' + path) end def stub_get(path) stub_request(:get, 'http://militarydemo.pipelinenc.com/' + path) end def stub_post(path) stub_request(:post, 'http://militarydemo.pipelinenc.com/' + path) end def stub_put(path) stub_request(:put, 'http://militarydemo.pipelinenc.com/' + path) end def fixture_path File.expand_path('../fixtures', __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
futures_pipeline-0.2.0 | spec/helper.rb |
futures_pipeline-0.1.2 | spec/helper.rb |
futures_pipeline-0.1.1 | spec/helper.rb |