require 'rspec' require 'webmock/rspec' require 'simplecov' require 'codeclimate-test-reporter' CodeClimate::TestReporter.start WebMock.disable_net_connect!(:allow => 'codeclimate.com') SimpleCov.start def a_get(path) a_request(:get, FullContact.endpoint + path) end def stub_get(path) stub_request(:get, FullContact.endpoint + path) end def fixture_path File.expand_path("../fixtures", __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end