Skip to content

Instantly share code, notes, and snippets.

@CapyTheBeara
CapyTheBeara / gapi.js
Last active August 29, 2015 13:57
An Ember object to send Google Drive API requests
// Created this object to facilitate an Ember Data Adapter
// Usage:
g = Gapi.create();
// create a file with just meta data (no content)
g.insert({ title: 'first' });
// create a file with content
g.insert({ title: 'second', content: 'second content'});
# Chapter 1
# 1
require 'spec_helper'
describe "Navigation" do
include Capybara
include Rails.application.routes.url_helpers
let(:headers) { page.response_headers }