Sha256: 89ebb37ad92e193829b87ef3d5f47bdf7766bdacd881f32d42fcdd074de7937d

Contents?: true

Size: 633 Bytes

Versions: 15

Compression:

Stored size: 633 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

15 entries across 15 versions & 1 rubygems

Version Path
quandl_client-2.8.0 spec/spec_helper.rb
quandl_client-2.7.12 spec/spec_helper.rb
quandl_client-2.7.9 spec/spec_helper.rb
quandl_client-2.7.8 spec/spec_helper.rb
quandl_client-2.7.7 spec/spec_helper.rb
quandl_client-2.7.6 spec/spec_helper.rb
quandl_client-2.7.3 spec/spec_helper.rb
quandl_client-2.7.2 spec/spec_helper.rb
quandl_client-2.7.1 spec/spec_helper.rb
quandl_client-2.7.0 spec/spec_helper.rb
quandl_client-2.6.2 spec/spec_helper.rb
quandl_client-2.6.1 spec/spec_helper.rb
quandl_client-2.6.0 spec/spec_helper.rb
quandl_client-2.5.3 spec/spec_helper.rb
quandl_client-2.5.2 spec/spec_helper.rb