Sha256: 5e2517af63d5710623746d142094bcc8bc91ab1816d2392b6b1143cc840a2713

Contents?: true

Size: 660 Bytes

Versions: 3

Compression:

Stored size: 660 Bytes

Contents

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

describe "Config class" do
  before(:all) do

    GoogleBigquery::Config.setup do |config|
      config.pass_phrase = config_options["pass_phrase"]
      config.key_file    = config_options["key_file"]
      config.scope       = config_options["scope"]
      config.email       =  config_options["email"]
    end
  end

  it "has all the keys required" do
    GoogleBigquery::Config.pass_phrase.should_not be_empty
    GoogleBigquery::Config.key_file.should_not be_empty
    GoogleBigquery::Config.scope.should_not be_empty
    GoogleBigquery::Config.email.should_not be_empty
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bigbroda-0.0.7 spec/functional/config_spec.rb
bigbroda-0.0.6 spec/functional/config_spec.rb
bigbroda-0.0.5 spec/functional/config_spec.rb