Sha256: 26d6330dd651d547e10421c11130dbec5485454f1b8d7bb16c3d6f3fe48e231a

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

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

describe "Config" do
  before(:all) do
    @config = LazyGoogleAnalytics::Config.new(config_options)

    @config2 = LazyGoogleAnalytics::Config.new({
      :pass_phrase => "notasecret"
    })
  end

  it "has all the keys required" do
    @config.pass_phrase.should_not be_empty
    @config.key_file.should_not be_empty
    @config.scope.should_not be_empty
    @config.profile_id.should_not be_empty
    @config.email.should_not be_empty
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_google_analytics-0.0.1 spec/functional/config_spec.rb