Sha256: 4bce0b6c142887c8caedd55491351ab9e82b95d9fa870cf336ab26b20890dd23
Contents?: true
Size: 972 Bytes
Versions: 6
Compression:
Stored size: 972 Bytes
Contents
$:.unshift File.expand_path('..', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__) require 'simplecov' SimpleCov.start require 'direct_employers' require 'rspec' require 'webmock/rspec' def a_delete(path) a_request(:delete, 'http://www.jobcentral.com/' + path) end def a_get(path) a_request(:get, 'http://www.jobcentral.com/' + path) end def a_post(path) a_request(:post, 'http://www.jobcentral.com/' + path) end def a_put(path) a_request(:put, 'http://www.jobcentral.com/' + path) end def stub_delete(path) stub_request(:delete, 'http://www.jobcentral.com/' + path) end def stub_get(path) stub_request(:get, 'http://www.jobcentral.com/' + path) end def stub_post(path) stub_request(:post, 'http://www.jobcentral.com/' + path) end def stub_put(path) stub_request(:put, 'http://www.jobcentral.com/' + path) end def fixture_path File.expand_path('../fixtures', __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
6 entries across 6 versions & 1 rubygems