Sha256: 6c7904873bb98440a76837c3b9d6420d281379ab3185c4b81369199aec384dfd

Contents?: true

Size: 975 Bytes

Versions: 1

Compression:

Stored size: 975 Bytes

Contents

unless ENV['CI']
  require 'simplecov'
  SimpleCov.start
end
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

1 entries across 1 versions & 1 rubygems

Version Path
futures_pipeline-0.2.1 spec/helper.rb