Sha256: 5cf4c492503802e4ae0b50004ebb9e6da44940f06dbf2c895901a61204d4504c

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

# encoding: utf-8
ENV['RACK_ENV'] = 'test'
dbuser = (ENV['TRAVIS']) ? 'postgres@' : nil
ENV['DB_NAME_TEST'] = "#{ENV['DB_NAME']}_test"
ENV['DATABASE_URL'] = "postgres://#{dbuser}localhost/#{ENV['DB_NAME_TEST']}"
lib_path = File.expand_path('../../lib', __FILE__)
($:.unshift lib_path) unless ($:.include? lib_path)
require 'boot'
Bundler.setup(:test)
require 'minitest/autorun'
MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/_app/spec/spec_helper.rb
daiku-0.2.1 lib/daiku/_app/spec/spec_helper.rb
daiku-0.2.0 lib/daiku/_app/spec/spec_helper.rb
daiku-0.1.1 lib/daiku/_app/spec/spec_helper.rb