Sha256: 7edb232a6ead5766fbe981b095e27889a5c10c868b34bf2da250917a9680a20b
Contents?: true
Size: 620 Bytes
Versions: 8
Compression:
Stored size: 620 Bytes
Contents
require "simplecov" require "simplecov-rcov" require 'webmock/rspec' require 'rspec_multi_matchers' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start do add_filter "vendor" add_filter "spec" end if ENV["COVERAGE"] require 'skydrive' def skydrive_test_client oauth_client = Skydrive::Oauth::Client.new("client_id", "client_secret", "http://callback_demo", "wl.skydrive_update,wl.offline_access") access_token = OAuth2::AccessToken.new(oauth_client, "access_token", {:refresh_token => "refresh_token", :expires_at => 1.hour.since(Time.now).to_i}) Skydrive::Client.new(access_token) end
Version data entries
8 entries across 8 versions & 1 rubygems