Sha256: affc3a838f50c493d0913d77a75bc1faaa72411c3ce385cdef4cff7f54abcbcc

Contents?: true

Size: 663 Bytes

Versions: 3

Compression:

Stored size: 663 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])

require "rspec"
require 'factory_girl'
require 'pry'

factory_dir = File.join( File.dirname(__FILE__), 'factories/**/*.rb' )
Dir.glob( factory_dir ).each{|f| require(f); puts f }

require "quandl/client"
require "quandl/fabricate"

# Expects two env variables:

# administrator:
# ENV['QUANDL_AUTH_TOKEN'] 

# user:
# ENV['QUANDL_TEST_TOKEN']

include Quandl::Client
Quandl::Client.token = ENV['QUANDL_AUTH_TOKEN']
Quandl::Client.use ENV['QUANDL_TEST_URL']

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
end

def uuid
  SecureRandom.uuid.to_s
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quandl_client-2.7.11 spec/spec_helper.rb
quandl_client-2.7.5 spec/spec_helper.rb
quandl_client-2.7.4 spec/spec_helper.rb