Sha256: 8a1a95f6b39991ff0966f7e9cf20b98b86beb3d4548f3e794ee27040e1a941c5
Contents?: true
Size: 458 Bytes
Versions: 4
Compression:
Stored size: 458 Bytes
Contents
require 'simplecov' SimpleCov.start require 'rspec' require 'webmock/rspec' require 'gplus' def fixture(file) text = File.read(File.join(File.expand_path('../fixtures', __FILE__), file)) [text, MultiJson.decode(text)] end def stub_api_request(method, path, query = {}) query[:key] = @api_key unless @api_key.blank? stub_request(method, "#{Gplus::Client::DEFAULT_ENDPOINT}/#{Gplus::Client::DEFAULT_API_VERSION}/#{path}").with(:query => query) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gplus-2.0.1 | spec/spec_helper.rb |
gplus-2.0.0 | spec/spec_helper.rb |
gplus-1.0.1 | spec/spec_helper.rb |
gplus-1.0.0 | spec/spec_helper.rb |