Sha256: cddea5a026c85121fc6b359657716528e183554d428f2fc021b218b8315f1b49

Contents?: true

Size: 543 Bytes

Versions: 8

Compression:

Stored size: 543 Bytes

Contents

require 'spec_helper'
require 'active_support/time'
describe Skydrive::Client do

  let(:oauth_client) { Skydrive::Oauth::Client.new("client_id", "client_secret", "http://callback_demo", "wl.skydrive_update,wl.offline_access")}
  let(:access_token) { OAuth2::AccessToken.new(oauth_client, "access_token", {:refresh_token => "refresh_token", :expires_at => 1.hour.since(Time.now).to_i}) }
  subject { Skydrive::Client.new(access_token)}

  describe '#object' do
    it "should return a collection when there is 'data' key" do

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
skydrive-1.2.0 spec/skydrive/client_spec.rb
skydrive-1.1.0 spec/skydrive/client_spec.rb
skydrive-1.0.0 spec/skydrive/client_spec.rb
skydrive-0.1.5 spec/skydrive/client_spec.rb
skydrive-0.1.4 spec/skydrive/client_spec.rb
skydrive-0.1.0 spec/skydrive/client_spec.rb
skydrive-0.0.2 spec/skydrive/client_spec.rb
skydrive-0.0.1 spec/skydrive/client_spec.rb