Sha256: cb28b536e7c7708cb1b6d539d4c65b28176d6772daded7de7a65203216a86688
Contents?: true
Size: 432 Bytes
Versions: 2
Compression:
Stored size: 432 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/ny-times-congress' require "rubygems" require "spec" require 'fake_web' require 'example_data/example_data' gem 'rr' include NYTimes::Congress API_KEY = 'blahblah' Base.api_key = API_KEY Spec::Runner.configure do |config| config.mock_with :rr end def api_url_for(path, params = {}) full_params = params.merge 'api-key' => API_KEY Base.build_request_url(path, full_params).to_s end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hoverbird-ny-times-congress-1.0.0 | spec/spec_helper.rb |
hoverbird-ny-times-congress-1.1.0 | spec/spec_helper.rb |