Sha256: d24bfc42ffb5a8776391a661b44fa87ca18765be2d401706c6513c793e405cd1

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'debugger'
require File.join(File.dirname(__FILE__), '../lib', 'lazy_google_analytics')
require 'stringio'
require "pry"

RSpec.configure do |config|

  def fixture_key(type, filename)
    dir_name = type.to_s + "s"
    File.dirname(__FILE__) + "/fixtures/#{dir_name}/#{filename}"
  end

  def config_options
    config = YAML.load( File.open(fixture_key("config", "account_config.yml")) )
    config["key_file"]  = fixture_key("key", config["pem"])
    return config
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_google_analytics-0.0.1 spec/spec_helper.rb