Sha256: 31718b30a771b51cc89a72b5362ce03792ad52a2bd8418ab2fc24b8192da452e

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'pry'
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')

ENV['RACK_ENV'] = 'test'
ENV['JOB_DIR'] = 'spec/tmp'

# NOTE: DATABASE_URL in .env must be commented out
require 'fluentd_server'
require 'fluentd_server/environment'
require 'rake'
require 'sinatra/activerecord/rake'
Rake::Task['db:schema:load'].invoke

if ENV['TRAVIS']
  require 'simplecov'
  require 'coveralls'
  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  SimpleCov.start do
    add_filter 'spec'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluentd-server-0.3.2 spec/spec_helper.rb