Sha256: cc04d0160ca41dab4e997a9b23b72a79a7d2e1dd453da16431460cb75e8fcd49

Contents?: true

Size: 594 Bytes

Versions: 11

Compression:

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
quandl_client-2.5.1 spec/spec_helper.rb
quandl_client-2.5.0 spec/spec_helper.rb
quandl_client-2.4.9 spec/spec_helper.rb
quandl_client-2.4.8 spec/spec_helper.rb
quandl_client-2.4.7 spec/spec_helper.rb
quandl_client-2.4.6 spec/spec_helper.rb
quandl_client-2.4.5 spec/spec_helper.rb
quandl_client-2.4.4 spec/spec_helper.rb
quandl_client-2.4.3 spec/spec_helper.rb
quandl_client-2.4.2 spec/spec_helper.rb
quandl_client-2.4.1 spec/spec_helper.rb