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