Sha256: 023b32320e112520bc52eed205b9138616499d93a0b7bf04122da61f3446bd75

Contents?: true

Size: 475 Bytes

Versions: 7

Compression:

Stored size: 475 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '../../spec_helper')

describe "Config" do
  before(:all) do
    config_setup
    @auth = GoogleBigquery::Auth.new
  end

  it "authorization object" do
    VCR.use_cassette('auth') do
      @auth.authorize
      @auth.api.class.should be Google::APIClient::API
      GoogleBigquery::Auth.api.class.should be Google::APIClient::API
      GoogleBigquery::Auth.client.class.should be Google::APIClient
    end
  end

end






Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bigbroda-0.0.7 spec/functional/auth_spec.rb
bigbroda-0.0.6 spec/functional/auth_spec.rb
bigbroda-0.0.5 spec/functional/auth_spec.rb
bigbroda-0.0.4 spec/functional/auth_spec.rb
bigbroda-0.0.3 spec/functional/auth_spec.rb
bigbroda-0.0.2 spec/functional/auth_spec.rb
bigbroda-0.0.1 spec/functional/auth_spec.rb