Sha256: 6e94236ef47d835aaba7915c6d62f20ef9b26b67ccbea0c34cac6bfc8bdddca9
Contents?: true
Size: 770 Bytes
Versions: 2
Compression:
Stored size: 770 Bytes
Contents
require 'rspec' require 'nokogiri' require 'webmock/rspec' require 'vcr' require File.dirname(__FILE__) + '/../lib/google_cells' WebMock.disable_net_connect! VCR.configure do |c| c.cassette_library_dir = 'spec/vcr_cassettes' c.default_cassette_options = { :match_requests_on => [:method, :uri], :decode_compressed_response => true, :allow_playback_repeats => true } c.hook_into :webmock end # # to record more cassetes, supply service account file # path = File.expand_path(File.dirname(__FILE__) + '/../tmp/service_account.yml') file = YAML.load_file(path) GoogleCells.configure do |config| config.service_account_email = file['email'] config.key_file = File.dirname(__FILE__) + file['path'] config.key_secret = file['key_secret'] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | spec/spec_helper.rb |
google-cells-0.3.0 | spec/spec_helper.rb |